mapbox_access_token | R Documentation |
A mapbox access token is required for rendering the mapbox basemap (regardless of tiles used) and mapbox services (tiles). To use a basemap, you need to register for a mapbox account. Mapbox has a generous free tier.
Each rdeck map rendered equates to a map load for web.
mapbox_access_token()
The mapbox token is read from the following locations (in order):
getOption("rdeck.mapbox_access_token")
Sys.getenv("MAPBOX_ACCESS_TOKEN")
Sys.getenv("MAPBOX_TOKEN")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.