Skip to contents

Converts tags into a hash-tagged string

Usage

tags2hash(tags)

Arguments

tags

A character vector of tags (e.g., c("R", "Health data")).

Value

A single string with tags converted to a hash-tagged format (e.g., "#Rstats #HealthData"). Specific transformation applied: - Converts "r" (case insensitive) to "rstats". - Removes spaces within tags. - Collapses all elements into one space-separated string.