Description Usage Arguments Details Examples
View source: R/twitter_analytics_downloader.R
Downloads the Tweet activity report from Twitter Analytics.
1 2 | twitter_analytics_downloader(username, password, start_date, end_date,
download_directory = getwd())
|
username |
String specifying the phone, email or username of a Twitter account. |
password |
String specifying the password of the Twitter account. |
start_date |
String specifying the start date of the period to download in format "%Y-%m-%d". |
end_date |
String specifying the end date of the period to download in format "%Y-%m-%d". |
download_directory |
String specifying the directory where the downloaded files will be saved. Current directory is set by default. |
This function downloads one or more csv files containing detailed data of the given account's tweets: number of impressions, engagement rate, number of retweets, link clicks, etc.
Twitter Analytics restricts the maximum possible date range to a 91-day window. If the selected date range is longer than 91 days, this function splits the download into several downloads.
1 2 3 | ## Not run:
twitter_analytics_downloader("username", "password", "2018-01-01", "2018-04-01", "C:/Users/ABCD/Downloads")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.