Extracts all hashtags included in the input tweet data list

extract_hashtags(tweets)

Arguments

tweets

A vector of tweets

Value

Vector of hashtags

Examples

tweets <- c(
   "Make America Great Again #DonaldTrump"
)
extract_hashtags(tweets)
#> [1] "DonaldTrump"