Description Usage Arguments Details Value See Also
Munge an rtweet
data.frame (according to personal preferences)
for subsequent analysis.
1 2 3 4 5 6 7 8 | clean_tweets_at(data = NULL, facet = NULL, trim = TRUE,
cols = c("status_id", "created_at", "user_id", "screen_name", "text",
"display_text_width", "reply_to_status_id", "is_quote", "is_retweet",
"favorite_count", "retweet_count", "hashtags", "symbols", "urls_url",
"urls_expanded_url", "media_expanded_url", "ext_media_expanded_url"),
timezone = "America/Chicago")
clean_tweets(..., facet)
|
data |
data.frame (created using |
facet |
bare for NSE; character for SE. Name of column in |
trim |
logical. Indicates whether or not to select only certain columns (and drop the others). |
cols |
character (vector). Name(s) of column(s) in |
timezone |
character. Passed directly to |
... |
dots. Additional paramaters. |
Converts nested lists to character(s).
Adds a timestamp
column that is derived from the created_at
column. Also, adds a time
column that represents the hour in the day of created_at
.
data.frame.
https://juliasilge.com/blog/ten-thousand-data/. https://buzzfeednews.github.io/2018-01-trump-twitter-wars/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.