read_input {oncmap} | R Documentation |
Read input file
Description
Read input file
Usage
read_input(
infile,
include_formats = NULL,
exclude_formats = NULL,
formats_def = NULL,
infile_data_output = FALSE
)
Arguments
infile |
Input CSV file name |
include_formats |
Which formats to include in checking |
exclude_formats |
Which formats to exclude from checking |
formats_def |
New formats definition |
infile_data_output |
Include infile data frame in the result |
Value
A list of output variables
-
format
- Detected input format name -
format_def
- Detected format definition -
patient_id
- Extracted patient_id -
device_id
- Extracted device_id -
data
- Extracted timestamps -
log
- Log of the format detection -
infile_data
- Raw input data
Examples
input_file <- system.file('extdata', 'sample-data-ecap2.csv', package = 'oncmap')
input <- read_input("tests/testthat/ecap1.csv")
[Package oncmap version 0.1.7 Index]