Rdocumentation
powered by
Learn R Programming
heemod (version 0.4.0)
create_df_from_tabular: Load Data From a Folder Into an Environment
Description
Reads files containing data frames (in tabular format) from a directory, and loads them in an environment to be available during an analysis.
Usage
create_df_from_tabular(df_dir, df_envir)
Arguments
df_dir
A directory containing the files.
df_envir
An environment.
Value
The environment with the data frames.
Details
The files must be in .csv, .xls, or .xlsx format. A file my_df.csv (or my_df.xls, or my_df.xlsx) will be loaded as a data frame my_df.