Generate sample upload CSV files
generate_sample_csv.RdCreates the 4 flat CSV files (results, input, untransformed, queries) that can be uploaded to the ctasapp Shiny dashboard. The files are generated from the bundled sample_ctas_data, sample_ctas_results, sample_sdtm_data, and sample_sdtm_results datasets, combining them into a multi-study example.
Usage
generate_sample_csv(
path,
sdtm_categories = c("ALT", "AST", "CREAT", "VS_DIABP", "VS_HEIGHT", "VS_PULSE",
"VS_SYSBP", "VS_TEMP", "VS_WEIGHT", "RS_OVRLRESP", "VS_WEIGHT_CAT")
)Examples
if (FALSE) { # \dontrun{
generate_sample_csv(tempdir())
} # }