import_data_basel: Imports operational & analytical data for Basel (with...

Description Usage Arguments Value

View source: R/import_data_basel.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
  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


KWB-R/aquanes.report documentation built on Sept. 10, 2019, 8:04 a.m.