choroplethr v3.6.1

0

Monthly downloads

0th

Percentile

Simplify 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. This package simplifies this process by 1. Providing ready-made functions for creating choropleths of common maps. 2. Providing data and API connections to interesting data sources for making choropleths. 3. Providing a framework for creating choropleths from arbitrary shapefiles. 4. Overlaying those maps over reference maps from Google Maps.

Readme

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.

Documentation

Documentation for choroplethr, including a free course, can be found here.

Functions in choroplethr

Name Description
Admin1Choropleth An R6 object for creating Administration Level 1 choropleths.
Admin1RegionChoropleth An R6 object for creating Administration Level 1 choropleths based on regions.
admin1_region_choropleth Create a map of Administrative Level 1 regions
calculate_percent_change Calculate the percentage change between two choroplethr dataframes.
df_pop_county A data.frame containing population estimates for US Counties in 2012.
df_pop_state A data.frame containing population estimates for US States in 2012.
get_acs_data Returns a list representing American Community Survey (ACS) estimates
get_acs_df Returns a data.frame representing US Census American Community Survey (ACS) estimates.
tract_choropleth Create a choropleth of Census Tracts in a particular state.
zip_map Create a map visualizing US ZIP codes with sensible defaults
USAChoropleth Normal choropleth that draws Alaska and Hawaii as insets. In addition to a columns named "region" and "value", also requires a column named "state".
admin1_choropleth Create an admin1-level choropleth for a specified country
state_choropleth Create a choropleth of US States
state_choropleth_acs Create a US State choropleth from ACS data
continental_us_states A vector of the names of US Continental US States.
country_choropleth Create a country-level choropleth
df_state_age_2010 A data.frame containing median age estimates for US states in 2010
df_state_age_2015 A data.frame containing median age estimates for US states in 2015
choroplethr_animate Animate a list of choropleths
df_japan_census A data.frame containing basic demographic information about Japan.
df_pop_country A data.frame containing population estimates for Countries in 2012.
choroplethr_wdi Create a country-level choropleth using data from the World Bank's World Development Indicators (WDI)
get_county_demographics Get a handful of demographic variables on US Counties from the US Census Bureau as a data.frame.
get_state_demographics Get a handful of demographic variables on US States from the US Census Bureau as a data.frame.
CountyChoropleth Create a county-level choropleth
CountyZoomChoropleth Create a county-level choropleth that zooms on counties, not states.
county_choropleth Create a choropleth of US Counties
county_choropleth_acs Create a US County choropleth from ACS data
StateChoropleth Create a state-level choropleth
TractChoropleth An R6 object for creating choropleths of Census Tracts.
choroplethr Create a choropleth
choroplethr_acs Create a choropleth from ACS data.
county_zoom_choropleth Create a choropleth of USA Counties, with sensible defaults, that zooms on counties.
df_county_demographics A data.frame containing demographic statistics for each county in the United States.
get_tract_demographics Get a handful of demographic variables on Census Tracts in a State from the US Census Bureau as a data.frame.
get_tract_map Get a map of tracts in a state, as a data.frame
Choropleth The base Choropleth object.
CountryChoropleth An R6 object for creating country-level choropleths.
df_president A data.frame containing election results from the 2012 US Presidential election.
df_president_ts A data.frame containing all US presdiential election results from 1789 to 2012
df_state_demographics A data.frame containing demographic statistics for each state plus the District of Columbia.
double_map Place two maps side by side
No Results!

Last month downloads

Details

URL http://www.arilamstein.com/open-source
Copyright Trulia, Inc.
License BSD_3_clause + file LICENSE
Collate 'acs.R' 'choropleth.R' 'admin1.R' 'admin1_region.R' 'choroplethr_animate.R' 'choroplethr_wdi.R' 'country.R' 'usa.R' 'county.R' 'county_zoom.R' 'data.R' 'deprecated.R' 'get_county_demographics.R' 'get_state_demograhpics.R' 'get_tract_demographics.R' 'startup_messages.R' 'state.R' 'tracts.R' 'utils.R'
RoxygenNote 6.0.1
NeedsCompilation no
Packaged 2017-04-15 18:37:57 UTC; arilamstein
Repository CRAN
Date/Publication 2017-04-16 10:23:48 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/choroplethr)](http://www.rdocumentation.org/packages/choroplethr)