/choroplethr

choroplethr simplifies the creation of choropleths (thematic maps) in R

Primary LanguageROtherNOASSERTION

choroplethr

choroplethr simplifies the creation of choropleth maps in R. Choropleths are thematic maps where geographic regions, such as states, are colored according to some metric, such as the number of people who live in that state. choroplethr simplifies this process by

  1. Providing ready-made functions for creating choropleths using 220 different maps.
  2. Providing API connections to interesting data sources for making choropleths.
  3. Providing a framework for creating choropleths from arbitrary shapefiles.

Training & Development

My free course Learn to Map Census Data in R can teach you how to use this package. There is also a paid course that goes into much more detail. I blog about this package's development here.

Documentation

Please see the following pages for more details.

  1. Introduction
  2. US State Choropleths
  3. US County Choropleths
  4. Country Choropleths
  5. Mapping US Census Data
  6. Mapping World Bank WDI Data
  7. Animated Choropleths
  8. Creating Your Own Maps
  9. Creating Administrative Level 1 Maps

Installation

To install the latest stable release type the following from an R console:

install.packages("choroplethr")

To install the development version use the devtools package:

# install.packages("devtools")
library(devtools)
install_github("choroplethr", "arilamstein")
library(choroplethr)