Package: tidycensus 1.6.7

tidycensus: Load US Census Boundary and Attribute Data as 'tidyverse' and 'sf'-Ready Data Frames

An integrated R interface to several United States Census Bureau APIs (<https://www.census.gov/data/developers/data-sets.html>) and the US Census Bureau's geographic boundary files. Allows R users to return Census and ACS data as tidyverse-ready data frames, and optionally returns a list-column with feature geometry for mapping and spatial analysis.

Authors:Kyle Walker [aut, cre], Matt Herman [aut], Kris Eberwein [ctb]

tidycensus_1.6.7.tar.gz
tidycensus_1.6.7.zip(r-4.5)tidycensus_1.6.7.zip(r-4.4)tidycensus_1.6.7.zip(r-4.3)
tidycensus_1.6.7.tgz(r-4.4-any)tidycensus_1.6.7.tgz(r-4.3-any)
tidycensus_1.6.7.tar.gz(r-4.5-noble)tidycensus_1.6.7.tar.gz(r-4.4-noble)
tidycensus_1.6.7.tgz(r-4.4-emscripten)tidycensus_1.6.7.tgz(r-4.3-emscripten)
tidycensus.pdf |tidycensus.html
tidycensus/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/walkerke/tidycensus/issues

Datasets:
  • acs5_geography - Dataset used to identify geography availability in the 5-year ACS Detailed Tables
  • county_laea - County geometry with Alaska and Hawaii shifted and re-scaled
  • fips_codes - Dataset with FIPS codes for US states and counties
  • mig_recodes - Dataset with Migration Flows characteristic recodes
  • pums_variables - Dataset with PUMS variables and codes
  • state_laea - State geometry with Alaska and Hawaii shifted and re-scaled

On CRAN:

14.22 score 639 stars 9 packages 6.7k scripts 12k downloads 9 mentions 18 exports 56 dependencies

Last updated 20 days agofrom:fe702c762b. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 17 2024
R-4.5-winNOTEOct 17 2024
R-4.5-linuxNOTEOct 17 2024
R-4.4-winNOTEOct 17 2024
R-4.4-macNOTEOct 17 2024
R-4.3-winNOTEOct 17 2024
R-4.3-macNOTEOct 17 2024

Exports:as_dot_densitycensus_api_keycheck_ddhca_groupsget_acsget_decennialget_estimatesget_flowsget_pop_groupsget_pumsinterpolate_pwload_variablesmoe_productmoe_propmoe_ratiomoe_sumsignificancesummary_filesto_survey

Dependencies:askpassbitbit64classclassIntclicliprcpp11crayoncurlDBIdplyre1071fansigenericsgluehmshttrjsonliteKernSmoothlifecyclemagrittrMASSmimeopensslpillarpkgconfigprettyunitsprogressproxypurrrR6rappdirsRcppreadrrlangrvests2selectrsfstringistringrsystibbletidyrtidyselecttigristzdbunitsutf8uuidvctrsvroomwithrwkxml2

Readme and manuals

Help Manual

Help pageTopics
Dataset used to identify geography availability in the 5-year ACS Detailed Tablesacs5_geography
Convert polygon geometry to dots for dot-density mappingas_dot_density
Install a CENSUS API Key in Your '.Renviron' File for Repeated Usecensus_api_key
Check to see if a given geography / population group combination is available in the Detailed DHC-A file.check_ddhca_groups
County geometry with Alaska and Hawaii shifted and re-scaledcounty_laea
Dataset with FIPS codes for US states and countiesfips_codes
Obtain data and feature geometry for the American Community Surveyget_acs
Obtain data and feature geometry for the decennial US Censusget_decennial
Get data from the US Census Bureau Population Estimates Programget_estimates
Obtain data and feature geometry for American Community Survey Migration Flowsget_flows
Get available population groups for a given Decennial Census year and summary fileget_pop_groups
Load data from the American Community Survey Public Use Microdata Series APIget_pums
Use population-weighted areal interpolation to transfer information from one set of shapes to anotherinterpolate_pw
Load variables from a decennial Census or American Community Survey dataset to search in Rload_variables
Dataset with Migration Flows characteristic recodesmig_recodes
Calculate the margin of error for a derived productmoe_product
Calculate the margin of error for a derived proportionmoe_prop
Calculate the margin of error for a derived ratiomoe_ratio
Calculate the margin of error for a derived summoe_sum
Dataset with PUMS variables and codespums_variables
Evaluate whether the difference in two estimates is statistically significant.significance
State geometry with Alaska and Hawaii shifted and re-scaledstate_laea
Identify summary files for a given decennial Census yearsummary_files
Return tidy data frames from the US Census Bureau APItidycensus-package tidycensus
Convert a data frame returned by get_pums() to a survey objectto_survey