Skip to contents

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.

Usage

load_csv_files(input_dir = NULL, full_file_path = NULL, .envr = NULL)

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

Value

Load imported CSV data.

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()
)
} # }