Skip to contents

Reads the data from a AIRMO DAT file and returns it as a data frame in rOstluft long format

Usage

read_airmo_dat(
  fn,
  encoding = "latin1",
  tz = "Etc/GMT-1",
  time_shift = NULL,
  na.rm = TRUE
)

Arguments

fn

DAT file name, can be relative to current directory or absolut

encoding

DAT file encoding. Default "latin1"

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