cvap_process_dir {cvap}R 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())

[Package cvap version 0.1.5 Index]