Learn R Programming

cvap (version 0.1.6)

cvap_process_dir: Process Directory of CVAP Files

Description

Process Directory of CVAP Files

Usage

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

Value

list of tibbles of cvap

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.

Examples

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

Run the code above in your browser using DataLab