Package: choroplethr 5.0.1

Zhaochen He

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, census tracts, and zip codes, world countries and sub-country regions (e.g., provinces, prefectures, etc.).

Authors:Ari Lamstein [aut], Zhaochen He [ctb, cre], Brian Johnson [ctb], Trulia, Inc. [cph]

choroplethr_5.0.1.tar.gz
choroplethr_5.0.1.zip(r-4.7)choroplethr_5.0.1.zip(r-4.6)choroplethr_5.0.1.zip(r-4.5)
choroplethr_5.0.1.tgz(r-4.6-any)choroplethr_5.0.1.tgz(r-4.5-any)
choroplethr_5.0.1.tar.gz(r-4.7-any)choroplethr_5.0.1.tar.gz(r-4.6-any)
choroplethr_5.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
choroplethr/json (API)
NEWS

# Install 'choroplethr' in R:
install.packages('choroplethr', repos = c('https://cranhaven.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/eastnile/choroplethr/issues

Datasets:
  • admin1.map - An sf containing geometry data for sub-country regions
  • admin1.regions - Supported world sub-country regions with lookup data in multiple languages
  • country.map - An sf containing geometry data for countries of the world
  • country.regions - Supported countries along with lookup data in multiple languages
  • county.map.2015 - An sf containing geometry data for US counties in 2015
  • county.map.2024 - An sf containing geometry data for US counties in 2024
  • county.regions.2015 - Supported regions for US counties in 2015
  • county.regions.2024 - Supported regions for US counties in 2024
  • df_country_demographics - A data.frame containing population estimates for Countries in 2012.
  • df_county_demographics - A data.frame containing demographic statistics for each county in the United States.
  • df_japan_census - A data.frame containing basic demographic information about Japan.
  • df_ny_tract_demographics - A data.frame containing demographic statistics for each Census Tract in New York State.
  • df_president - A data.frame containing election results from the 2012 US Presidential election.
  • df_ri_zip_demographics - A data.frame containing demographic statistics for each zip code in Rhode Island.
  • df_state_demographics - A data.frame containing demographic statistics for each state plus the District of Columbia.
  • state.map.bigdc - An sf containing geometry data for US states with DC enlarged
  • state.map.hex - An sf containing a hexagonal tile map for US states
  • state.map.hires - An sf containing higher resolution geometry data for US states
  • state.map.lores - An sf containing lower resolution geometry data for US states
  • state.regions - Supported regions for US states
  • zip_lookup - A dataset that maps zip codes to counties, states, and CBSAs

On CRAN:

Conda:

archivedpackagesr-universe

4.47 score 5 stars 920 scripts 1.3k downloads 12 exports 98 dependencies

Last updated from:e9a2bee02b (on package/choroplethr). Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK188
source / vignettesOK247
linux-release-x86_64OK202
macos-release-arm64OK138
macos-oldrel-arm64OK99
windows-develOK124
windows-releaseOK135
windows-oldrelOK135
wasm-releaseOK152

Exports:admin1_choroplethChoroplethcountry_choroplethcounty_choroplethcounty_choropleth_acsget_acs_dataget_tract_mapget_zip_mapstate_choroplethstate_choropleth_acstract_choroplethzip_choropleth

Dependencies:askpassbackportsbase64encbitbit64bslibcachemcheckmateclassclassIntclicliprclustercolorspacecpp11crayoncurldata.tableDBIdigestdplyre1071evaluatefarverfastmapfontawesomeforeignFormulafsgenericsggplot2ggrepelgluegridExtragtablehighrHmischmshtmlTablehtmltoolshtmlwidgetshttrisobandjquerylibjsonliteKernSmoothknitrlabelinglifecyclemagrittrMASSmemoisemimennetopensslpillarpkgconfigprettyunitsprogressproxypurrrR6rappdirsRColorBrewerRcppreadrrlangrmarkdownrpartrstudioapirvests2S7sassscalesselectrsfstringistringrsystibbletidycensustidyrtidyselecttigristinytextzdbunitsutf8uuidvctrsviridisLitevroomwithrwkxfunxml2yaml

Readme and manuals

Help Manual

Help pageTopics
Create a choropleth map using regional data at the sub-country leveladmin1_choropleth
An sf containing geometry data for sub-country regionsadmin1.map
Supported world sub-country regions with lookup data in multiple languagesadmin1.regions
The base Choropleth object.Choropleth
Create a choropleth map using country-level datacountry_choropleth
An sf containing geometry data for countries of the worldcountry.map
Supported countries along with lookup data in multiple languagescountry.regions
Create a choropleth map using U.S. county level data:county_choropleth
Create a US County choropleth from ACS datacounty_choropleth_acs
An sf containing geometry data for US counties in 2015county.map.2015
An sf containing geometry data for US counties in 2024county.map.2024
Supported regions for US counties in 2015county.regions.2015
Supported regions for US counties in 2024county.regions.2024
A data.frame containing population estimates for Countries in 2012.df_country_demographics
A data.frame containing demographic statistics for each county in the United States.df_county_demographics
A data.frame containing basic demographic information about Japan.df_japan_census
A data.frame containing demographic statistics for each Census Tract in New York State.df_ny_tract_demographics
A data.frame containing election results from the 2012 US Presidential election.df_president
A data.frame containing demographic statistics for each zip code in Rhode Island.df_ri_zip_demographics
A data.frame containing demographic statistics for each state plus the District of Columbia.df_state_demographics
Use tidycensus to obtain the data needed to create a choropleth map.get_acs_data
Download a map of all census tracts in a given stateget_tract_map
Download a map of requested zip codesget_zip_map
Create a choropleth map using U.S. state level datastate_choropleth
Create a US State choropleth from ACS datastate_choropleth_acs
An sf containing geometry data for US states with DC enlargedstate.map.bigdc
An sf containing a hexagonal tile map for US statesstate.map.hex
An sf containing higher resolution geometry data for US statesstate.map.hires
An sf containing lower resolution geometry data for US statesstate.map.lores
Supported regions for US statesstate.regions
Create a choropleth map using census tract level data for a given state.tract_choropleth
Create a choropleth map using zip code level datazip_choropleth
A dataset that maps zip codes to counties, states, and CBSAszip_lookup