cvap_process_dir: Process Directory of CVAP Files

View source: R/process.R

cvap_process_dirR Documentation

Process Directory of CVAP Files

Description

Process Directory of CVAP Files

Usage

cvap_process_dir(dir, year, out_dir, moe = TRUE, csv = FALSE)

Arguments

dir

Path to directory with the CVAP files

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

list of tibbles of cvap

Examples

path <- fs::path_package('cvap', 'extdata')
cvap_process_dir(path, year = 2019, out_dir = tempdir())

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