Imports operational data for Basel (with metadata for both sites at once, i.e. "rhein" and "wiese")

import_operation_meta_basel(
  raw_dir_rhein = package_file("shiny/basel/data/operation/rhein"),
  raw_dir_wiese = package_file("shiny/basel/data/operation/wiese"),
  meta_online_path = package_file("shiny/basel/data/metadata/meta_online.csv"),
  meta_site_path = package_file("shiny/basel/data/metadata/meta_site.csv"),
  meta_parameter_path = package_file("shiny/basel/data/metadata/meta_parameter.csv")
)

Arguments

raw_dir_rhein

Define directory for site "rhein" with raw data in EXCEL spreadsheet format (.xlsx) to be imported (default: sema.pilot:::package_file("shiny/basel/data/operation/rhein"))

raw_dir_wiese

Define directory for site "rhein" with raw data in EXCEL spreadsheet format (.xlsx) to be imported (default: sema.pilot:::package_file("shiny/basel/data/operation/wiese"))

meta_online_path

path to file containing metadata for online data (default: sema.pilot:::package_file("shiny/basel/data/metadata/meta_online.csv"))

meta_site_path

Define path of "meta_site.csv" to be imported (default: sema.pilot:::package_file("shiny/basel/data/metadata/meta_site.csv"))

meta_parameter_path

Define path of "meta_parameter.csv" to be imported (default: sema.pilot:::package_file("shiny/basel/data/metadata/meta_parameter.csv"))

Value

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