airmo_wide_to_long: Converts the wide format from the files to the long format

View source: R/read-airmo.R

airmo_wide_to_longR Documentation

Converts the wide format from the files to the long format

Description

Converts the wide format from the files to the long format

Usage

airmo_wide_to_long(
  header,
  data,
  tz = "Etc/GMT-1",
  time_shift = NULL,
  na.rm = TRUE
)

Arguments

header

data frame containing airmo_kurzname, parameter, zeitfenster and einheit

data

data frame only containing the data from the file

tz

time zone of date field. Be carefull Etc/GMT + == -. Default "Etc/GMT-1"

time_shift

a lubridate period to add to the time. Default NULL

na.rm

remove na (empty) values. Default TRUE

Value

data frame in rOstluft long format

See Also

lubridate::period() - Create or parse period objects

base::timezones - Information about time zones in R


Ostluft/rOstluft documentation built on Feb. 6, 2024, 1:26 a.m.