leafletZH provides mapping functionalities, including adding area polygons, customizable choropleth layers for cities and provinces, and Amap tile layers. It features tools for calculating polygon areas, along with datasets for Chinese cities and provinces, and coordinate conversion between different systems.
You can install this package from CRAN, or the development version from GitHub:
# CRAN version
install.packages('leafletZH')
# Or Github version
if (!require('devtools')) install.packages('devtools')
devtools::install_github('Damonsoul/leafletZH')
Docs and examples at: https://damonsoul.github.io/leafletZH/
The province and city data are sourced from Aliyun DataV Atlas.
This package is released under the MIT license. Please see the LICENSE file for more details.
Contributions are welcome! Please submit a pull request or open an issue on the GitHub repository.
This package was created by Damonsoul.