mainmatter / breethe-server

Air Quality Data for Locations around the World

Home Page:https://breethe.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch to better data source

marcoow opened this issue · comments

Unfortunately the data that we get from openaq.org is relatively poor. We should switch to a different data source as breethe only has real value if it shows good, up-to-date data.

Plan/Todo:

  • CSV processing from EEA + test #191
  • implement source module + tests #200
  • refactor: use {lat, lon} instead of lat, lon throughout code base.
  • refactor Breethe module to use Source + tests

@marcoow will this increase which locations are supported? I get an error for anything outside of Europe.

So we had OpenAQ before moving to the EEA data. OpenAQ data was relatively poor so this is a big improvement. Of course, the EEA data covers Europe only and we'd have to connect a separate data source for the US. I think covering Europe and US would likely to be sufficient for now. I'll create a follow-up issue though since the original goal we had with this has been reached.