makeHashDf: Make the df needed for hashtag type stats

Description Usage Arguments Examples

View source: R/makeHashTypeDf.R View source: R/makeHashDf.R

Description

This function creates the dataframe needed to be able to look at the different hashtag types

Usage

1
makeHashDf(misper_tweets)

Arguments

misper_tweets

cleaned data set of missing persons tweets with all variables coded manually

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
misper_tweets <- structure(list(retweet_count = c(15L, 7L, 6L, 9L, 24L, 15L, 27L,
21L, 4L, 1L, 52L, 2L, 18L, 1L, 1L, 5L, 6L, 10L, 3L, 2L), coded_hash_type = c("other",
"police", "other", "location", "location", "missing", "location",
"missing", "missing", "missing", "location", "location", "other",
"missing", "missing", "missing", "missing", "missing", "missing",
"missing")), row.names = c(NA, 20L), class = "data.frame")



hash_df <- makeHashDf(misper_tweets)

maczokni/misperTweetsCode documentation built on May 8, 2020, 5:14 p.m.