read_BWB_rain_correction_wide_day: Read Correction "Wide" Format

View source: R/bwb_rain_corr_wide.R

read_BWB_rain_correction_wide_dayR Documentation

Read Correction "Wide" Format

Description

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


KWB-R/kwb.read documentation built on Oct. 2, 2023, 10:40 a.m.