A minimal R package to download Mapbox raster tiles and georeference for static mapping
I wrote this R package for a SESYNC Cyberhelp blog post.
Install the package using this command:
remotes::install_github('qdread/qdrmapbox')
To use this package, you will need to sign up for a Mapbox account. Once you have an account, you will also need to create an access token. Access to the API is free up to a limit. For more details please see the blog post.
A walkthrough of downloading and georeferencing tiles, and creating a map with the resulting image, is in the blog post. Code for the walkthrough is in this repo (walkthrough.R).
Last modified by QDR, 08 August 2022
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.