Pull ACS race data

Share:

Description

Pull ACS data for a specified geography from base tables B01001B-I and B02001. ' These tables reference population counts by race.

Usage

1
pull_race_data(endyear, span, geography)

Arguments

endyear

An integer, indicating the latest year of the data in the survey.

span

An integer in c(1,3,5) indicating the span of the desired data.

geography

a valid geo.set object specifying the census geography or geographies to be fetched.

Value

A list containing the endyear, span, a data.frame of estimates, a data.frame of standard errors, and a data.frame of the geography metadata from acs.fetch.

See Also

acs.fetch, geo.make

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.