Open christophsax opened 5 years ago
Hmm, I guess available sets is what's outdated and mislead you. I'll crosspost cause swissdata is not public yet:
This should do the job
library(kofdata) tsl <- kofdata::get_dataset("bs_indicator")
basically "Geschäftslage Indikator" is a bit misleading. It's not a single indicator. In fact there is bts_total series that represents and aggregation across sectors and there are public series for every of the 8 sectors KOF surveys.
Use get_dataset
instead of get_time_series
. This will query the dataset endpoint of the API as opposed to the single ts endpoint.
Edit: Bonus answer.
Yup, we got you covered here. Yet, it's only series based at the moment:
kofdata::get_metadata("ch.kof.bts_total.ng08.fx.q_ql_ass_bs.balance.d11")
But since all of them have the same update / release date you could simply query the top series. However, I see this is last updated, not last release. So it won't be of much help for now since the API won't return stuff before the release date. We are currently working on an overhaul of our publication pipeline. This will be fixed in the process.
I am interested in ‘Business Situation’, which seems to be public:
I can list the keys:
But when I want to download it complains:
Bonus Question: Is there something like a last update in kofdata, so that I don’t need to download everything every day?
Created on 2019-10-06 by the reprex package (v0.3.0)