Description Usage Arguments Value
It assumes that a valid token is already present in the working environment. For details, see https://rtweet.info/articles/auth.html
1 2 3 4 5 6 7 8 9 10 |
keywords |
A character vector or a data frame, with keywords in the first column. Defaults to NULL. If NULL, tries to import previously stored keywords for given language and date. If a data frame, it assumes that the first columns includes the keywords. If a character vector, it processes it directly. |
date |
Used to find keywords locally, if none are provided. Defaults to latest available. To systematically get data for the previous day, use 'Sys.Date()-1' |
n_keywords |
An integer, defaults to NULL. |
n_tweets |
An integer. Number of tweets to request. |
tweet_type |
Passed to 'rtweet'. Defaults to "recent". Other valid types include "mixed" and "popular". |
A data.frame (a tibble) with 'n' number of rows and two columns, 'words' and 'n' for number of occurrences.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.