View source: R/write_compatible_csv.R
write_csv_compatible | R Documentation |
Saves csv file, appending "RT" and retweeted user name to text of retweets. Adds "text2" variable as backup.
write_csv_compatible(rtweet_df, path_for_csv_file)
rtweet_df |
A dataframe/tibble of tweets created by rtweet package through twitter API call. |
path_for_csv_file |
a path and filename for output csv. Must include".csv" |
df <- rtweet::get_timelines("jack", n=3200) write_csv_compatible(df, "~/jack_tweets.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.