read_swissdata_meta: Read swissdata style yaml timeseries metadata

View source: R/read_swissdata_meta.R

read_swissdata_metaR Documentation

Read swissdata style yaml timeseries metadata

Description

read_swissdata_meta reads the given .yaml file and converts it into a per-timeseries format.

Usage

read_swissdata_meta(path, locale = "de", as_list = FALSE)

Arguments

path

Path to the yaml file to be read

locale

Locale in which to read the data (supported are "de", "fr", "it" and "en")

as_list

Should the output be converted to a list?

Details

If as_list is set to TRUE, the function returns a nested list with one element per timeseries, otherwise a data.table with one row per series.


tstools documentation built on June 7, 2023, 5:13 p.m.