| cluster_tweets | R Documentation |
Plot into clusters on an interactive map
cluster_tweets(data, ...)
data |
A data frame of tweets parsed by load_tweets or returned by pool_tweets. |
... |
Extra arguments passed to markerClusterOptions |
This function can be used to create interactive maps on OpenStreetView.
Interactive leaflet map
tileOptions
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.