expersso / OECD

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

incomplete data download in comparison to OECD.stat statistics #22

Open michielvandijk opened 2 years ago

michielvandijk commented 2 years ago

I am using the OECD package to download R&D expenditure statistics, in particular: Gross domestic expenditure on R&D by sector of performance and socio-economic objective (SEO), which can be accessed here: https://stats.oecd.org/Index.aspx?DataSetCode=GERD_SEO#

The data series on the OECD.stat site runs till 2019.

When I download the data by means of this command: get_dataset("gerd_objective_nabs2007"), the abovementioned database is downloaded but the series stop at 2015 instead of 2019.

It is not clear to me if this is related to the OECD package or to the OECD API. I hope you can clarify and if it is the API, if you could please show me how to reproduce the API message that is sent to the server, which I will then forward to the OECD.stat to ask what is going on.

michielvandijk commented 2 years ago

I think I have solved the issue. It seems that OECD has 'rebranded' their R&D indicators. These new indicators (the old ones with a slightly different name) are share by means of OECD.stat. At the same time they still make it possible to download the old data, which I was using before but are no longer available on OECD.stat. Pretty confusing! I have managed to identify the new data tables and am able to download them by means of the package.