README.md

acsprofiles

Create profiles of ACS data for variety of geographies in R

A far superior version of this package is our cwi package

This R package was developed for our work in-house at DataHaven, including speeding up and making reproducible the process of generating profiles (example). These functions are also useful for quickly getting neighborhood data for visualization or other projects. It includes functions to pull tables from the ACS API via the acs package, aggregate over custom geographies such as groups of tracts or towns, and arrange columns for output.

Data available in the package:

These lists are saved here to standardize them between projects and avoid error from missing block groups, etc.

Depends on acs, and imports functions from dplyr, purrr, stringr, and magrittr.

Note: the acs package requires a Census API key, which you can get from the Census Bureau. To save your key:

acs::api.key.install(key)

Also note that the Census APIs seem to crash pretty often.

To install this package:

devtools::install_github("CT-Data-Haven/acsprofiles")

See the vignette for a common, simplified workflow using several of the functions here.



CT-Data-Haven/acsprofiles documentation built on June 13, 2019, 8:20 a.m.