The mapgl R package makes the latest versions of Mapbox GL JS and MapLibre GL JS available to R users. The package interface is designed to make the powerful capabilities of both libraries available in R mapping projects, but also feel similar to users coming from other R mapping packages.
Install from CRAN:
install.packages("mapgl")
Or, install the development version from GitHub:
remotes::install_github("walkerke/mapgl")
Read through these vignettes to learn how to use the package:
Recommended training and how to learn more
If you find this project useful in your work and would like to ensure continued development of the package, you can provide support in the following ways:
- Purchase the official mapgl workshop series, hosted by mapgl’s author, Kyle Walker;
- Chip in some funds to support package development via PayPal;
- Set up a consulting engagement or workshop though Walker Data to help you implement mapgl in your project. Send a note to kyle@walker-data.com if you are interested;
- File an issue - or even better, a pull request - at https://github.com/walkerke/mapgl/issues.
To stay on top of package updates / new features and to get information about mapgl trainings, be sure to sign up for the Walker Data mailing list here.