if (FALSE) {
# whole dataset (long data.frame)
ds("ch_fso_cpi")
# one series, by dimension code
ds("ch_fso_cpi", item = "100_100")
# several series, restricted to a date range
ds("ch_fso_cpi", item = c("100_100", "100_1"), from = "2020-01-01")
# as a ts object
ds("ch_seco_gdp", type = "real", structure = "gdp", seas_adj = "csa",
class = "ts")
}
Run the code above in your browser using DataLab