Plot a heat maps base o 2d density estimation
Geotagged tweets as a SpatialPointsDataFrame or a SpatialPointsDataFrame.
By default FALSE. TRUE option will plot tweets points over the density map.
This funtion is base on
ggmap. It is a fast way to plot a density map, actually it can work with any SpatialPointsDataFrame. To customize your output, more information is available in the
ggmap documentation page https://cran.r-project.org/package=ggmap
It works only with small region if you have tweets for all over the world it won't work properly. To get a subsample of the geotweets for a specific region use
1 2 3 4
## Not run: theatmap(geotweets) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.