Applies consistent cleaning to YouTube text fields
clean_youtube_text(
text,
remove_html = TRUE,
normalize_whitespace = TRUE,
max_length = NULL
)
Cleaned character vector
Character vector of text to clean
Boolean. Remove HTML tags. Default: TRUE
Boolean. Normalize whitespace. Default: TRUE
Integer. Maximum length (NULL for no limit). Default: NULL