Skip to contents

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.