process_one_directory {babyTimeR} | R Documentation |
Process One Directory of 'BabyTime' Activity Files
Description
Only works with with .zip files
Usage
process_one_directory(directory, remove_txts = TRUE, verbose = TRUE)
Arguments
directory |
directory with activity files in it |
remove_txts |
boolean. whether to remove txt files before processing |
verbose |
boolean. print out processing details? |
Value
Clean BT List DB object (and also write it to the 'out' RDS file)
Examples
data_dir <- system.file('extdata', package = 'babyTimeR')
if (file.exists('parsed_data.RDS')) {
baby_dann_db <- readRDS('parsed_data.RDS')
} else {
baby_dann_db <- process_one_directory(
directory = data_dir,
remove_txts = FALSE
)
}
[Package babyTimeR version 0.1.0 Index]