ff_all_year_acs: Import ACS data for a single year and topic

View source: R/import_census.R

ff_all_year_acsR Documentation

Import ACS data for a single year and topic

Description

This function imports ACS data for a single topic and year, and for the following geographic regions: United States, North Carolina, and all North Carolina counties. Its use case is to update the indicators.

Usage

ff_all_year_acs(subject, year, table)

Arguments

subject

table or variable name as a string

year

The year to improt data.

table

Boolean indicating whether 'subject' is a table or variable. 'table = T' indicates that 'subject' is a table

Value

A tidy dataframe with all census data. Additional columns for the year and geographic region are added. Geographic regions include US, NC, and all NC counties for the given year.

Examples


employment <- ff_all_year_acs('S2301', 2017, T)


forsythfuture/FFtools documentation built on April 5, 2022, 10:02 p.m.