Description Usage Arguments Details Value See Also Examples
Parse JSON files of collected Tweets
1 | load_tweets(file_name)
|
file_name |
Character string. Name of JSON file with data collected by
stream_tweets or |
This function replaces parse_stream which has been
deprecated in rtweet 0.7 but is included here to ensure backwards compatibility
for data streamed with older versions of rtweet
.
Alternatively stream_in in conjunction with tweets_with_users
and lat_lng can be used if data has been collected with rtweet 0.7 or newer.
A data frame of tweets data with additional meta data
parse_stream, stream_in, tweets_with_users
1 2 3 4 5 6 7 8 9 | ## Not run:
library(Twitmo)
# load tweets (included in package)
raw_path <- system.file("extdata", "tweets_20191027-141233.json", package = "Twitmo")
mytweets <- load_tweets(raw_path)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.