openaq / openaq-api-v2

OpenAQ API
https://api.openaq.org
43 stars 9 forks source link

Provide numeric value for dates for easier analysis later #332

Closed caparker closed 7 months ago

caparker commented 7 months ago

I missed the cutoff so this could just be moved to the next release if we include it.

It converts date_from and date_to to timestamps for logging. It does not write over the parameters but creates new ones. The new parameters would make it easier to do some some analysis in cloudwatch.

caparker commented 7 months ago

Now that I have it up here I think it might be better to just do the extra calculations to get the values I really want, which are

@russbiggs What do you think?