Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch history view #119

Open
zachlipton opened this issue Aug 13, 2020 · 0 comments
Open

Batch history view #119

zachlipton opened this issue Aug 13, 2020 · 0 comments

Comments

@zachlipton
Copy link
Collaborator

We have a great state/date history view in the internal website, backed by the /state-date-history/<string:state>/<string:date> API. I'm thinking we should also have a batch view that just shows metadata for all batches in chronological order.

To do this, I'm proposing a /batches/metadata endpoint that returns only the metadata of all batches, similar to /batches but without the 4MB JSON blob. I'm not 100% sure what should be included in this. The simplest version has only the batch metadata, e.g:

{ "batchId": 79, "batchNote": "Upon further outreach and review of the document linked in sources, we have updated our understanding of how NC reports total test results. NC's total tests include results from all tests administered for one person and have reported that the unit for total tests is specimens. Therefore, we moved all values from Total PCR Tests (People) to Total Tests (PCR).", "createdAt": "Thu, 13 Aug 2020 14:48:31 GMT", "dataEntryType": "edit", "isPublished": true, "isRevision": true, "link": "https://github.com/COVID19Tracking/issues/issues/759", "logCategory": "other", "publishedAt": "Thu, 13 Aug 2020 14:48:31 GMT", "shiftLead": "JJA", "user": "jesse" }

But that doesn't seem like enough to be useful, since it won't tell us the state(s) and date(s) covered by the batch, which means we can't link to the state/date history to actually see the edits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant