I am trying to download data directly from the OECD website using the OECD package in R. I'm specifically trying to download data from the industrial production dataset (https://data.oecd.org/industry/industrial-production.htm) for South Africa. I believe that the codes for the dataset itself and for South Africa are MEI_REAL and ZAF.
However, when I try to run the following
df <- get_dataset("MEI_REAL",
filter = 'ZAF',
start_time = 2019, end_time = 2020)
I get the following error
Error in rsdmx::readSDMX(url) :
HTTP request failed with status: 400 Bad Request
Can anyone advise on what I'm doing wrong? I've never used this package before so I'm struggling to figure it out.
TIA