cluster_tweets {Twitmo} | R Documentation |
Cluster tweets on an interactive map
Description
Plot into clusters on an interactive map
Usage
cluster_tweets(data, ...)
Arguments
data |
A data frame of tweets parsed by load_tweets or returned by pool_tweets. |
... |
Extra arguments passed to markerClusterOptions |
Details
This function can be used to create interactive maps on OpenStreetView.
Value
Interactive leaflet map
See Also
Examples
## Not run:
library(Twitmo)
# load tweets (included in package)
mytweets <- load_tweets(system.file("extdata", "tweets_20191027-141233.json", package = "Twitmo"))
pool <- pool_tweets(mytweets)
cluster_tweets(mytweets)
# OR
cluster_tweets(pool$data)
## End(Not run)
[Package Twitmo version 0.1.2 Index]