owid / co2-data

Data on CO2 and greenhouse gas emissions by Our World in Data
https://ourworldindata.org/co2-and-other-greenhouse-gas-emissions
654 stars 219 forks source link

WIP: enhance: replace variable id fetching with data-api #29

Closed Marigold closed 1 year ago

Marigold commented 2 years ago

Replace fetching by variable ID from owid website by fetching data directly from data-api. This eliminates the need for special cases & additional data and variable -> ID mappings. It runs against local data-api only and we're waiting for it to be deployed somewhere publicly.

Be aware that code that is currently in master doesn't work since variable endpoint has been split into /data and /metadata parts.

pabloarosado commented 1 year ago

Hi @Marigold I think this PR doesn't make sense anymore, so I'll close it now.