Package: acs 2.1.4
acs: Download, Manipulate, and Present American Community Survey and Decennial Data from the US Census
Provides a general toolkit for downloading, managing, analyzing, and presenting data from the U.S. Census (<https://www.census.gov/data/developers/data-sets.html>), including SF1 (Decennial short-form), SF3 (Decennial long-form), and the American Community Survey (ACS). Confidence intervals provided with ACS data are converted to standard errors to be bundled with estimates in complex acs objects. Package provides new methods to conduct standard operations on acs objects and present/plot data in statistically appropriate ways.
Authors:
acs_2.1.4.tar.gz
acs_2.1.4.zip(r-4.5)acs_2.1.4.zip(r-4.4)acs_2.1.4.zip(r-4.3)
acs_2.1.4.tgz(r-4.4-any)acs_2.1.4.tgz(r-4.3-any)
acs_2.1.4.tar.gz(r-4.5-noble)acs_2.1.4.tar.gz(r-4.4-noble)
acs_2.1.4.tgz(r-4.4-emscripten)acs_2.1.4.tgz(r-4.3-emscripten)
acs.pdf |acs.html✨
acs/json (API)
# Install 'acs' in R: |
install.packages('acs', repos = c('https://eglenn.r-universe.dev', 'https://cloud.r-project.org')) |
- cpi - Consumer Price Index data (1913-2015).
- fips.american.indian.area - FIPS codes and geographic names for use in searching and creating geographies in the acs package.
- fips.county - FIPS codes and geographic names for use in searching and creating geographies in the acs package.
- fips.county.subdivision - FIPS codes and geographic names for use in searching and creating geographies in the acs package.
- fips.place - FIPS codes and geographic names for use in searching and creating geographies in the acs package.
- fips.school - FIPS codes and geographic names for use in searching and creating geographies in the acs package.
- fips.state - FIPS codes and geographic names for use in searching and creating geographies in the acs package.
- kansas07 - County-level data from the 2007 American Community Survey for Kansas for use in examples of acs package.
- kansas09 - County-level data from the 2005-2009 American Community Survey for Kansas for use in examples of acs package.
- lawrence10 - Tract-level data from the 2006-2010 American Community Survey for Lawrence, MA for use in examples of acs package.
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 6 years agofrom:eca27424a4. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 27 2024 |
R-4.5-win | OK | Oct 27 2024 |
R-4.5-linux | OK | Oct 27 2024 |
R-4.4-win | OK | Oct 27 2024 |
R-4.4-mac | OK | Oct 27 2024 |
R-4.3-win | OK | Oct 27 2024 |
R-4.3-mac | OK | Oct 27 2024 |
Exports:acs.colnamesacs.colnames<-acs.fetchacs.lookupacs.tables.installacs.unitsacs.units<-api.forapi.inapi.key.installapi.key.migrateapi.url.makerapplycbind.acscombinecombine.termcombine.term<-combine<-confint.acscurrency.convertcurrency.yearcurrency.year<-dim.acsdivide.acsendyearendyear<-estimateflatten.geo.setgeo.listgeo.lookupgeo.makegeographygeography<-is.acsis.acs.lookupis.geois.geo.setlength.acsmodifiednameplotprompt.acsrbind.acsread.acsresultsshowspanspan<-standard.errorsumlevsummary
Dependencies:askpassclicurlgluehttrjsonlitelifecyclemagrittrmimeopensslplyrR6RcpprlangstringistringrsysvctrsXML
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Download, Manipulate, and Present American Community Survey and Decennial Data from the US Census | acs-package acs |
Class '"acs"' | *,acs,acs-method *,acs,numeric-method *,numeric,acs-method +,acs,acs-method +,acs,numeric-method +,numeric,acs-method -,acs,acs-method -,acs,numeric-method -,numeric,acs-method /,acs,acs-method /,acs,numeric-method /,numeric,acs-method acs-class acs.colnames acs.colnames,acs-method acs.colnames<- acs.colnames<-,acs-method acs.units acs.units,acs-method acs.units<- acs.units<-,acs-method apply apply,acs-method dim.acs estimate estimate,acs-method is.acs length.acs modified modified,acs-method show,acs-method span span,acs-method span<- span<-,acs-method standard.error standard.error,acs-method summary,acs-method [,acs-method [<-,acs-method |
Downloads demographic data (ACS, SF1, SF3) via the Census API and converts to a proper acs object with estimates, standard errors, and associated metadata. | acs.fetch api.url.maker |
Search for relevant demographic variables and tables from the US Census. | acs.lookup |
Class '"acs.lookup"' | +,acs.lookup,acs.lookup-method acs.lookup-class c,acs.lookup-method endyear,acs.lookup-method is.acs.lookup results results,acs.lookup-method show,acs.lookup-method span,acs.lookup-method [,acs.lookup-method |
Downloads and stores XML tables used to lookup variable codes, table names, and other metadata associated with acs package. | acs.tables.install |
Installs an API key from the US Census to use with calls to 'acs.fetch'. | api.key.install |
After updating the acs package, installs an archived API key from a previous installation. | api.key.migrate |
Combine acs Objects by Columns | cbind cbind.acs |
Return upper and lower bounds of given confidence intervals for acs objects. | confint confint.acs |
Consumer Price Index data (1913-2015). | cpi |
Convert dollar values of acs object to a new base year. | currency.convert currency.convert,acs-method |
Return (or change) currency.year value from the metadata of an acs object. | currency.year currency.year,acs-method currency.year<- currency.year<-,acs-method |
Divide one acs object or variable by another. | divide.acs |
Return or replace endyear value from the metadata of an acs object. | endyear endyear,acs-method endyear<- endyear<-,acs-method |
FIPS codes and geographic names for use in searching and creating geographies in the acs package. | fips.american.indian.area fips.county fips.county.subdivision fips.place fips.school fips.state |
Convenience function to "flatten" a nested geo.set object. | flatten.geo.set |
Search Census geographies | geo.lookup |
Create a new geo.set object for use with the acs package. | geo.make |
Class '"geo.set"' | +,geo,geo-method +,geo,geo.set-method +,geo.set,geo-method +,geo.set,geo.set-method api.for api.for,geo-method api.in api.in,geo-method c,geo.set-method combine combine,geo.set-method combine.term combine.term,geo.set-method combine.term<- combine.term<-,geo.set-method combine<- combine<-,geo.set-method geo-class geo.list geo.list,geo.set-method geo.set-class is.geo is.geo.set length,geo.set-method name name,geo-method show,geo-method sumlev sumlev,geo-method [,geo.set-method [<-,geo.set-method [[,geo.set-method [[<-,geo.set-method |
Return or replace geography metadata of an acs object. | geography geography,acs-method geography<- geography<-,acs-method |
County-level data from the 2007 American Community Survey for Kansas for use in examples of acs package. | kansas07 |
County-level data from the 2005-2009 American Community Survey for Kansas for use in examples of acs package. | kansas09 |
Tract-level data from the 2006-2010 American Community Survey for Lawrence, MA for use in examples of acs package. | lawrence10 |
acs Methods for Function 'plot' | plot plot,acs,acs-method plot,acs-method plot-methods |
Prompt for new values for metadata in an acs object. | prompt prompt.acs |
Combine acs Objects by Rows | rbind rbind.acs |
Reads a comma-delimited file from the American Community Survey and creates an acs object with estimates, standard errors, and associated metadata. | read.acs |
acs Methods for Function 'sum' | sum sum,acs,acs-method sum,acs-method sum-methods |