expersso / OECD

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

Running example from read me returns error #32

Closed Patrikios closed 7 months ago

Patrikios commented 7 months ago

Running your example returns an errror:

> library(OECD)
> dataset <- "OECD.SDD.NAD,DSD_NAAG@DF_NAAG_I,1.0"
> filter <- "A.USA+EU.B1GQ_R_POP+B1GQ_R_GR.USD_PPP_PS+PC."
> df <- get_dataset(dataset, filter)
Fehler in download.file(path, destfile, method, quiet, mode, ...) : 
  kann URL 'https://stats.oecd.org/restsdmx/sdmx.ashx/GetData/OECD.SDD.NAD,DSD_NAAG@DF_NAAG_I,1.0/A.USA+EU.B1GQ_R_POP+B1GQ_R_GR.USD_PPP_PS+PC./all' nicht öffnen
Zusätzlich: Warnmeldung:
In download.file(path, destfile, method, quiet, mode, ...) :
  Kann URL 'https://stats.oecd.org/restsdmx/sdmx.ashx/GetData/OECD.SDD.NAD,DSD_NAAG@DF_NAAG_I,1.0/A.USA+EU.B1GQ_R_POP+B1GQ_R_GR.USD_PPP_PS+PC./all' nicht öffnen: HTTP Status war '500 Internal Server Error'
Patrikios commented 7 months ago

Solved by installing dev version from git hub (Version 0.3.0), on cran only version 0.2.5 available.