if (FALSE) {
# Basic usage
path <- archive_subject('demo/DemoSubject')
# clean up
unlink(path)
# Advanced usage: include all the original signals
# and processed data, no cache data, re-name to
# demo/DemoSubjectLite
path <- archive_subject(
'demo/DemoSubject',
includes = c("orignal_signals", "processed_data"),
config = list(
rename = list(
project_name = "demo",
subject_code = "DemoSubjectLite"
),
orignal_signals = list(
# include all raw signals
include_all = TRUE
),
processed_data = list(
include_cache = FALSE
)
)
)
# Clean up temporary zip file
unlink(path)
}
Run the code above in your browser using DataLab