Skip to content

Add check for recency of grant awarded #169

@michaelwood

Description

@michaelwood

In the DQT library check whether grants are awarded within the last 6 months.

Recommendation of approach:

  1. In https://github.com/ThreeSixtyGiving/dataquality/tree/main/lib360dataquality add a new file for this check to live in. Unless it is to also be shown in Cove (web UI)
  2. Subclass AdditionalCheck and implement a check to see if any awardDate >= (now - 6 months).
  3. Add the check to the checks the datastore performs. https://github.com/ThreeSixtyGiving/datastore/blob/live/datastore/data_quality/quality_data.py#L33
  4. Make sure the datastore aggregates the value to a publisher level correctly from the source files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions