DOCNAME <- tools::file_path_sans_ext(knitr::current_input())
source(here::here("R", "knitr-options.R"))
source(here::here("R", "libraries.R"))

wzxhzdk:2
cache_file <- here("data", paste0(DOCNAME, ".Rds"))
hashtags_vec <- str_split(params$hashtag, ",")[[1]]
hashtags_query <- paste(hashtags_vec, collapse = " OR ")
tweets <- clamour_load_tweets(hashtags_query, cache_file,
                              timezone = params$timezone, fixed = params$fixed)

Introduction {.unnumbered}

An analysis of tweets for the query r hashtags_query related to {{DESCRIPTION}} from r params$start_day to r params$end_day. A total of r nrow(tweets) tweets from r length(unique(tweets$screen_name)) users were collected using the {rtweet} R package.


Session info {.unnumbered}

wzxhzdk:5


lazappi/clamour documentation built on Sept. 8, 2020, 4:02 p.m.