Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contains the doc updates for the migration to a v2 version of the API. Compatibility on the data model level is preserved, but consumers should inspect the new API and its behaviour.
Since THL has started publishing their data, all the health care districts don't do it anymore (this makes sense). This makes updating our old style of observation based API too much work. I thought of weaving the updating THL data into our old style data, but decided agains it.
Main reason is this: we reported data based on the reporting date of the observations, and THL reports based on the testing date. We could always place the new observations on the current date if we kept our eyes open and it would offer a whole picture. That doesn't mesh well with the testing based updates (how to make sure we don't report things twice)? How would this mesh with our historical data?
By using just one of the sources we can offer a meaningful picture of the events. So consider our first API the history of the reporting of the coronavirus cases, and the new THL API the factual testing history.
This should interest @Matsuuu @VuokkoH @valstu @duukkis @Julleht @kallehjerppe @Miksus @jonniek @ultsi @mouhgang @pauliinasol @Karvaporsas @jhamberg @lovelldies @AnttiHaerkoenen @Avicted @Marantle @jussivirkkala @eevajonnapanula @jingzhe @lounjukk @Tatatofly .