openaq / openaq-data-format

A description of the data format provided by the OpenAQ platform.
MIT License
29 stars 4 forks source link

Better system for parsing location levels #5

Open RocketD0g opened 8 years ago

RocketD0g commented 8 years ago

I don't have a clear suggestion at the moment for solving this issue, so I'll just describe the problem:

Currently, we assign a city to each measurement. But some measurements aren't associated with cities in their originating source (e.g. several data points in the EPA system, also an issue with the DEFRA data for GB). Currently, we assign the non-city associated EPA data with its county-level, instead.

But its a larger issue for other places we add in: how do we handle places that are not associated with cities but are truly in rural sites? I suggest leaving them blank, but I know this is a bad idea! (@jflasher).

olafveerman commented 8 years ago

I remember having this discussion with @jflasher a couple of months ago. The city nomenclature doesn't apply to every use case. Alas, there are not a lot of sources that report strictly per city. Australia does on a lower level (Sydney East, West, etc), Chile and São Paulo as well.

Some possibilities: