Description Usage Arguments Value See Also Examples
View source: R/read_d1_files.R
Reads data along with metadata into your R environment based on download_d1_data()
file structure.
1 | read_d1_files(folder_path, fnc = "read_csv", ...)
|
folder_path |
(character) Path to a directory where data and metadata are located. |
fnc |
(character) Function to be used to read the data (default is |
... |
Parameters to pass into the function specified in |
(list) Named list containing data and metadata as data frames.
download_d1_data()
download_d1_data_pkg()
1 2 3 4 5 6 | data_folder <- system.file("extdata", "test_data", package = "metajam")
soil_moist_data <- read_d1_files(data_folder)
# You can specify the function you would like to use to read the file and pass parameters
soil_moist_data_skipped <- read_d1_files(data_folder, "read.csv",
skip = 8, stringsAsFactors = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.