owid / data-api

API for accessing data from our data catalog.
MIT License
16 stars 4 forks source link

WIP: initial prototype #1

Closed Marigold closed 2 years ago

Marigold commented 2 years ago

Initial API prototype with two components:

  1. crawler that replicates our ETL catalog into local DuckDB
  2. API that can serve data and metadata when given variable id

A lot could be refactored, but it is in a shape to serve some basic requests. It was only tested on handful of datasets (primarily dataset 941), but I'm adding more. It is currently one big commit with all the parts inside because everything's changing quickly and I've rewritten its structure a few times already. I can split it into smaller PRs (or commits), although it'd be great to get some feedback first to avoid having to rewrite it again.

Limitations