extract_hashtags: Extracts all hashtags included in the input tweet data list

Description Usage Arguments Value Examples

View source: R/extract_hashtags.R

Description

Extracts all hashtags included in the input tweet data list

Usage

1

Arguments

tweets

A vector of tweets

Value

Vector of hashtags

Examples

1
2
3
4
tweets <- c(
   "Make America Great Again #DonaldTrump"
)
extract_hashtags(tweets)

UBC-MDS/textprepr documentation built on Feb. 5, 2022, 8:13 a.m.