choroplethr: Create Color-Coded Choropleth Maps in R
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.
Version: |
5.0.0 |
Depends: |
R (≥ 3.5.0) |
Imports: |
Hmisc, stringr, ggplot2 (≥ 2.0.0), dplyr, R6, ggrepel, tigris (≥ 1.0), sf, tidycensus, rnaturalearth |
Suggests: |
testthat (≥ 3.0.0), rnaturalearthhires |
Published: |
2025-06-26 |
DOI: |
10.32614/CRAN.package.choroplethr |
Author: |
Ari Lamstein [aut],
Zhaochen He [ctb, cre],
Brian Johnson [ctb],
Trulia, Inc. [cph] |
Maintainer: |
Zhaochen He <zhaochen.he at cnu.edu> |
License: |
BSD_3_clause + file LICENSE |
Copyright: |
Trulia, Inc. |
URL: |
https://github.com/eastnile/choroplethr |
NeedsCompilation: |
no |
Materials: |
README NEWS |
CRAN checks: |
choroplethr results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=choroplethr
to link to this page.