Description Usage Arguments Value
View source: R/screen_scrape_tweets.R
Returns number of IDs collected per account and date range window
1 2 | get_tweet_ids_meta(file, .uid.pattern = "^tw_user_(\\d+)_.+",
.daterange.pattern = "^[[:alnum:]_]+_tweet_ids_([[:alnum:]_-]+)\\.json$")
|
file |
Path to the tweets IDs JSON file |
.uid.pattern |
PERL compatible regular expression used to parse numeric user ID from |
.daterange.pattern |
PERL compatible regular expression used to parse date range from |
a tibble data frame with columns
'user_id' (parsed from JSON file stem using .uid.pattern
),
'screen_name' (parent element of JSON file),
'start' (first date parsed from .daterange.pattern
),
'end' (second date parsed from .daterange.pattern
),
'since' (Twitter search query'since' date parsed from JSON elements),
'until' (Twitter search query 'until' date parsed from JSON elements),
'n_tweet_ids' (length of list in nested 'ids' elements of JSON elements).
'file' (as passed to file
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.