This function is used to load single/multiple CSV files after importing the file(s) from a specific directory or providing the full file path.
Arguments
- input_dir
Directory path, Default: NULL
- full_file_path
Full file path, Default: NULL
- .envr
Environment for loading the data, Default: NULL By default, it load the data into global environment, please
caller_env
Examples
if (FALSE) { # \dontrun{
input_dir <- system.file("extradata/pacc-raw-input", package = "ADNIMERGE2")
# Load all CSV files to global environment
load_csv_files(
input_dir = input_dir,
full_file_path = NULL,
.envr = globalenv()
)
} # }
