Skip to content

Add min_date, max_date to lineage-by-sub-admin-most-recent #83

@flaneuse

Description

@flaneuse

Currently, the window for lineage-by-sub-admin-most-recent is specified through an ndays parameter, which calculates a window based on the number days before today.

To be more general, we want to filter dates based on either min_date and/or max_date:

  • Add a min_date param to filter dates >= min_date
  • Add a max_date param to filter dates <= max_date
  • To maintain backwards capability, retain the ndays parameter (though you might want to refactor to route it through the min_date/max_date filters instead by setting max_date={today} and min_date={today - ndays}

Should be similar to #54

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions