pull_inc_earnings: Pull ACS income and earnings data

View source: R/pull_inc_earnings.R

pull_inc_earningsR Documentation

Pull ACS income and earnings data

Description

Pull ACS data for a specified geography from base tables B19083, B19301, B19326, B21001, B22001, B23020, B24011. Not yet implemented: B28004 Additional fields, mainly percentages and aggregations, are calculated.

Usage

pull_inc_earnings(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, a character vector of the original column names, and a data.frame of the geography metadata from acs.fetch.

See Also

acs.fetch, geo.make


alexWhitworth/synthACS documentation built on Nov. 2, 2022, 9:14 a.m.