ts_plot
ts_plot(x, by = "days", obj = FALSE, ...)
Tweets data frame
Unit of time, e.g., secs, days, weeks, months, years
secs, days, weeks, months, years
Logical indicating whether to return timeseries-like object. Defaults to FALSE. Set to true to return data.frame used to plot.
Other arguments passed to plot function.
# NOT RUN { # stream tweets mentioning presidential debates hashtag # for 5 minutes x <- stream_tweets(q = "debates2016", timeout = (60 * 5)) tsplot(x) # }
Run the code above in your browser using DataCamp Workspace