load-case-projects: Load Last Downloaded Data for a REDcap Project

load-case-projectsR Documentation

Load Last Downloaded Data for a REDcap Project

Description

load_nit() and load_nca() load the latest data downloaded from the respective REDcap project. To find the file paths to these data, use path_nit() or path_nca(). To download the data, use download_nit() or download_nca().

Usage

load_nit(date = NULL, path = path_nit(date), clean_names = TRUE, ...)

load_nca(date = NULL, path = path_nca(date), clean_names = TRUE, ...)

Arguments

date

The download date of the file to read; the default (NULL) will read the most recent file

path

The path to the file to read; if supplied, the function will read this file instead

clean_names

Should column names be cleaned by clean_names()?

...

Additional parameters to pass to read_file_delim()

Value

A tibble if reading one file; a list of tibbles if reading multiple


jesse-smith/coviData documentation built on Jan. 14, 2023, 11:08 a.m.