Easily create color-coded (choropleth) maps in R. No knowledge of cartography or shapefiles needed; go directly from your geographically identified data to a highly customizable map with a single line of code! Supported geographies: U.S. states, counties, and census tracts, world countries and sub-country regions (e.g., provinces, prefectures, etc.). One of the suggested packages, rnaturalearthhires, is not available on CRAN owing to its larger filesize (40MB). It can be installed from GitHub using remotes::install_github("https://github.com/ropensci/rnaturalearthhires"). This package contains higher resolution sub-country maps and is only needed for the choropleth_admin1() function.
Package details |
|
---|---|
Author | Ari Lamstein [aut], Zhaochen He [ctb, cre], Brian Johnson [ctb], Trulia, Inc. [cph] |
Maintainer | Zhaochen He <zhaochen.he@cnu.edu> |
License | BSD_3_clause + file LICENSE |
Version | 5.0.0 |
URL | https://github.com/eastnile/choroplethr |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.