Skip to contents

Process Epic stating files, lightly standardizing them and moving them to raw.

Usage

pophive_process_epic_staging(
  staging_dir = "raw/staging",
  out_dir = "raw",
  verbose = TRUE,
  cleanup = TRUE
)

Arguments

staging_dir

Directory containing the staging files.

out_dir

Directory to write new raw files to.

verbose

Logical; if FALSE, will not show status messages.

cleanup

Logical; if FALSE, will not remove staging files after being processed.

Value

NULL if no staging files are found. Otherwise, a list with entries for data and metadata. Each of these are lists with entries for each recognized standard name, with potentially combined outputs similar to pophive_read_epic

Examples

if (FALSE) { # \dontrun{
  # run from a source project
  pophive_process_epic_staging()
} # }