mishajw / vaxtldr.uk

https://vaxtldr.uk
7 stars 3 forks source link

Fix data parsing, update data #19

Closed frebib closed 3 years ago

frebib commented 3 years ago

Data consistency apparently isn't NHS' strong-suit. Below are some of the anomalies that broke the parser.

1st dose5
Total 1st Doses6
2nd dose5
Total 2nd Doses6
Cumulative Total Doses to Date6
% who have had at least 1 dose (using ONS denominators)7
% who have had both doses (using ONS denominators)7

Fixed by relaxing the absolute string comparison instead for a "close enough" string-contains approach.

Signed-off-by: Joe Groocock me@frebib.net

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mishajw/vaxtldr-uk/BBFdMCg5bEMNSVnVRxEEAmotDyJE
✅ Preview: https://vaxtldr-uk-git-fork-frebib-master-mishajw.vercel.app