Application Showcase

acs package in R

Working with the Puget Sound Regional Council, I've modified my acs package for R to allow users to download data directly from the Census ACS API. See for more info and user guide.

Features and improvements include:

* The package is now capable of downloading data directly from the new Census American Community Survey API and importing into R (with proper statistical treatment of estimates and error, variable and geographic relabeling, and more), all through a single “acs.fetch()” function;

* The package includes a new “geo.make()” function to allow users to create their own custom geographies for organize and download data; and

* The package provides two special “lookup” tools to help filter through all the existing Census geographies (with the “geo.lookup()” function) and tables (with the “acs.lookup()” function) to find exactly what they want. These functions return new R “lookup” objects which can be saved, manipulated, and passed to acs.fetch() for downloading data.

(Still beta, but getting close -- any help/testing appreciated.)


Submitted by

Stage: Active

Feedback Score

10 votes
10 up votes
0 down votes

Idea Details

Vote Activity

  1. Upvoted
  2. Upvoted
  3. Upvoted
  4. Upvoted
  5. Upvoted
  6. Upvoted
  7. Upvoted
  8. Upvoted
  9. Upvoted
  10. Upvoted

Similar Ideas [ 4 ]


  1. The idea was posted


  1. Comment
    Lisa W
    ( Moderator )

    Thanks for the update. Do you plan on doing again this as other data sets become available?

  2. Comment
    eglenn ( Idea Submitter )

    Assuming the format for API calls doesn't change, the package should work on any new dataset as they becomes available (5-year ACS data for other periods, as well as 3 -and 1-year data if they are added). If the xml files change (used for looking up variable codes), then I'll need to add those, which is pretty simple. So in short, yes, the package is being actively maintained and I'd love for it to be able to help users access other datasets.

Add your comment