import.file.content.climate: Imports the content of a single produkt file into R

Description Usage Arguments Value Author(s)

View source: R/import.R

Description

It does the actual conversion of the format used by the DWD to the xts or data.frame class. This function is intend to be used for aggregated station data.

Usage

1
2
import.file.content.climate(file.path, time.series.format = c("xts",
  "data.frame"))

Arguments

file.path

Path to a single produkt_* file contained in the zip archives of the DWD.

time.series.format

Format of the extracted time series. They can either be of type data.frame and contain two columns, "date" and "value", or a time series provided by the xts package. Default = "xts".

Value

A list of all time series contained in the produkt file converted to the xts or data.frame class and named according to some convention of the DWD files or according to the names of the corresponding rows.

Author(s)

Philipp Mueller


theGreatWhiteShark/dwd2r documentation built on May 22, 2019, 2:26 p.m.