data.gov
data.gov copied to clipboard
Get records from harvest DB
User Story
In order to get records from the harvest database to run our compare, datagov wants to implement retrieving harvest records from our harvest DB and converting them into an id: hash
format similar to what is implemented now for ckan
Acceptance Criteria
[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]
- [ ] GIVEN harvest.py
AND a job id WHEN a call to the associated functions are called
THEN records will be read and converted intoid:hash
format \
Background
Security Considerations (required)
[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]
Sketch
- get records by source using existing route
- convert records into
id:hash
format - ensure compare works properly
[Notes or a checklist reflecting our understanding of the selected approach]