Skip to contents

Read correction data from CSV file(s) in "wide" format with days in columns

Usage

read_BWB_rain_correction_wide_day(
  files,
  sep = ";",
  country = "de",
  transpose = TRUE,
  dbg = TRUE,
  date.format = c("%d %B %Y")[1],
  encoding = ""
)

Arguments

files

paths to rain correction files

sep

column separator

country

one of "de" (German) or "en" (English) according to the format numeric strings are given in

transpose

logical. If TRUE (default) data are transposed so that the different rain gauges appear in different columns

dbg

logical. If TRUE, debug messages are shown.

date.format

format used to convert the date string into a date object

encoding

Encoding used when reading the CSV file. Best would be to use "UTF-8" but MS Excel uses system default