outbreak-info / outbreak.api

The data API server for outbreak.info
Apache License 2.0
11 stars 9 forks source link

Add time range parameter to mutations-by-lineage endpoint #68

Open joshuailevy opened 1 year ago

joshuailevy commented 1 year ago

Rather than looking at mutation frequency information from the entire pandemic, we're often only interested in recent sequencing (say, within the last 6 months).

Handler

Mutations by lineage endpoint Example API Call

Expected behavior

Expected Outcome

User should get a similar outcome to the mutations-by-lineage endpoint, except now only including data from sequences collected in the specified time period.

Related docs

https://github.com/outbreak-info/outbreak.api/blob/master/web/handlers/genomics/docs.md

flaneuse commented 1 year ago

would recommend adding a datemin and datemax parameter for maximum flexibility like in #54