R/import_data_basel.R
import_operation_meta_basel.Rd
Imports operational data for Basel (with metadata for both sites at once, i.e. "rhein" and "wiese")
import_operation_meta_basel(raw_dir_rhein = system.file(file.path("shiny", "basel/data/operation/rhein"), package = "aquanes.report"), raw_dir_wiese = system.file("shiny/basel/data/operation/wiese", package = "aquanes.report"), meta_online_path = system.file("shiny/basel/data/metadata/meta_online.csv", package = "aquanes.report"), meta_site_path = system.file("shiny/basel/data/metadata/meta_site.csv", package = "aquanes.report"), meta_parameter_path = system.file("shiny/basel/data/metadata/meta_parameter.csv", package = "aquanes.report"))
raw_dir_rhein | Define directory for site "rhein" with raw data in EXCEL spreadsheet format (.xlsx) to be imported (default: system.file("shiny/basel/data/operation/rhein", package = "aquanes.report")) |
---|---|
raw_dir_wiese | Define directory for site "rhein" with raw data in EXCEL spreadsheet format (.xlsx) to be imported (default: system.file("shiny/basel/data/operation/wiese", package = "aquanes.report")) |
meta_online_path | path to file containing metadata for online data (default: system.file("shiny/basel/data/metadata/meta_online.csv", package = "aquanes.report")) |
meta_site_path | Define path of "meta_site.csv" to be imported (default: system.file("shiny/basel/data/metadata/meta_site.csv", package = "aquanes.report")) |
meta_parameter_path | Define path of "meta_parameter.csv" to be imported (default: system.file("shiny/basel/data/metadata/meta_parameter.csv", package = "aquanes.report")) |
returns data frame with imported raw operational data with metadata for both sites (i.e."rhein" and "wiese")
data.frame with operational data for Basel sites including metadata