cvap_process_file: Process Census CVAP File

View source: R/process.R

cvap_process_fileR Documentation

Process Census CVAP File

Description

Process Census CVAP File

Usage

cvap_process_file(path, year, out_dir, moe = TRUE, csv = FALSE)

Arguments

path

path to csv file

year

file year

out_dir

directory to create files in

moe

Boolean. Default is TRUE. Should margin of error be kept?

csv

Boolean. Default is FALSE, which creates an rds file instead.

Value

tibble of cvap data

Examples

path <- fs::path_package('cvap', 'extdata', 'County.csv')
cvap_process_file(path, year = 2019, out_dir = tempdir())

cvap documentation built on July 9, 2023, 7:27 p.m.