Establishes a new data bundle project, used to prepare outputs from standardized datasets.
Usage
dcf_add_bundle(
name,
project_dir = ".",
source_files = NULL,
open_after = interactive()
)
Project
Within a bundle project, there are two files to edits:
ingest.R
: This is the primary script, which is automatically rerun. It should store raw data and resources inraw/
where possible, then use what's inraw/
to produce standard-format files instandard/
. This file is sourced from its location during processing, so any system paths must be relative to itself.measure_info.json
: This is where you can record information about the variables included in the standardized data files. Seedcf_measure_info
.