This closes #33 and gets rid of some code duplication.
All *_format_data functions can now simply call the internal function load_data and pass it a vector of file names (optionally with named items, and these item names will be retained), a directory name, a single dataset already loaded as a dataframe, or a named list of already loaded dataframes.
This closes #33 and gets rid of some code duplication.
All
*_format_data
functions can now simply call the internal functionload_data
and pass it a vector of file names (optionally with named items, and these item names will be retained), a directory name, a single dataset already loaded as a dataframe, or a named list of already loaded dataframes.