parse_acs_vars: Parse and R script for ACS Variables Used

Description Usage Arguments

View source: R/parse_acs_vars.R

Description

This function parses an R script to extract all the ACS variables that are used within it. These can then be passed to the keep_vars argument of acs_transform(). This helps limit the data that is extracted from raw files and processed to only what's needed to create your derived variables.

Usage

1

Arguments

file

Path to one or more R scripts used to create your derived variables from ACS-SF data. Should include ACS variables using the format b01001_e001 for estimates, b01001_m001 for margins, and b01001_se001 for standard errors. Use of acs_est_sum() to specify variables will also be correctly parsed.


austensen/acssf documentation built on Nov. 18, 2020, 4:44 a.m.