Description Usage Format Examples
A 'sf' object where each polygon represents a state
A 'sf' object of centroids of each state
1 2 3 |
sf
1 2 3 4 5 6 7 | ## Not run:
library(leaflet)
library(tilegramsR)
spdf <- sf_WSJ
leaflet(spdf) %>% addPolygons()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.