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

import_data_basel(analytics_dir = system.file("shiny/basel/data/analytics",
  package = "aquanes.report"),
  raw_dir_rhein = system.file("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_parameter_path = system.file("shiny/basel/data/metadata/meta_parameter.csv",
  package = "aquanes.report"),
  meta_site_path = system.file("shiny/basel/data/metadata/meta_site.csv",
  package = "aquanes.report"))

Arguments

analytics_dir

Define directory with raw analytical data in CSV (.csv) format to be imported (default: system.file("shiny/basel/data/analytics", 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_parameter_path

Define path of "meta_parameter.csv" to be imported (default: system.file("shiny/basel/data/metadata/meta_parameter.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"))

Value

data.frame with analytical & operational data for Basel