expersso / OECD

Reproducible and programmatic access to OECD data
126 stars 20 forks source link

OECD Package Malfunctioning #33

Open jordans78 opened 4 months ago

jordans78 commented 4 months ago

Does anyone know if the OECD 0.2.5 library still works? As of July 2, the OECD migrated its databases to a new portal, and now all the data I previously downloaded is unavailable. Here is an example:

library(OECD) df <- get_dataset("EPL_OV", filter = list(c("DEU", "FRA"), c("EPRC_V1", "EPRC_V2")), start_time = 2008, end_time = 2010)

Can anyone share their experience with this?

JulianVeit commented 2 months ago

Same issue here, the package does not work anymore.. Is there any alternative?

lmcotter commented 1 month ago

Likewise, it seems like the URL isn't configured properly. When running: dataset <- "OECD.ELS.HD/DSD_HEALTH_REAC_HOSP@DF_HOSP_REAC/1.0?references=" filter <- "" d <- get_dataset(dataset, filter = NULL)

I get an error: Warning in download.file(path, destfile, method, quiet, mode, ...) : cannot open URL 'https://stats.oecd.org/restsdmx/sdmx.ashx/GetData/OECD.ELS.HD/DSD_HEALTH_REAC_HOSP@DF_HOSP_REAC/1.0?references=/all/all': HTTP status was '404 Not Found' Error in download.file(path, destfile, method, quiet, mode, ...) : cannot open URL 'https://stats.oecd.org/restsdmx/sdmx.ashx/GetData/OECD.ELS.HD/DSD_HEALTH_REAC_HOSP@DF_HOSP_REAC/1.0?references=/all/all'

The file path should read: https://sdmx.oecd.org/public/rest/dataflow/OECD.ELS.HD/DSD_HEALTH_REAC_HOSP@DF_HOSP_REAC/1.0?references=all