covidatlas / li

Next-generation serverless crawler for COVID-19 data
Apache License 2.0
57 stars 33 forks source link

Add Hungary source. #560

Closed jzohrab closed 4 years ago

jzohrab commented 4 years ago

Closes https://github.com/covidatlas/li/issues/538

Running ./start --scrape hu --date 2020-07-27 we get:

┌─────────┬──────────────────────┬──────────────┬───────┐
│ (index) │      locationID      │     date     │ cases │
├─────────┼──────────────────────┼──────────────┼───────┤
│    0    │ 'iso1:hu#iso2:hu-bk' │ '2020-07-27' │  31   │
│    1    │ 'iso1:hu#iso2:hu-ba' │ '2020-07-27' │  41   │
│    2    │ 'iso1:hu#iso2:hu-be' │ '2020-07-27' │  15   │
│    3    │ 'iso1:hu#iso2:hu-bz' │ '2020-07-27' │  125  │
│    4    │ 'iso1:hu#iso2:hu-bu' │ '2020-07-27' │ 2032  │
│    5    │ 'iso1:hu#iso2:hu-cs' │ '2020-07-27' │  139  │
│    6    │ 'iso1:hu#iso2:hu-fe' │ '2020-07-27' │  380  │
│    7    │ 'iso1:hu#iso2:hu-gs' │ '2020-07-27' │  98   │
│    8    │ 'iso1:hu#iso2:hu-hb' │ '2020-07-27' │  44   │
│    9    │ 'iso1:hu#iso2:hu-he' │ '2020-07-27' │  28   │
│   10    │ 'iso1:hu#iso2:hu-jn' │ '2020-07-27' │  22   │
│   11    │ 'iso1:hu#iso2:hu-ke' │ '2020-07-27' │  312  │
│   12    │ 'iso1:hu#iso2:hu-no' │ '2020-07-27' │  53   │
│   13    │ 'iso1:hu#iso2:hu-pe' │ '2020-07-27' │  680  │
│   14    │ 'iso1:hu#iso2:hu-so' │ '2020-07-27' │  27   │
│   15    │ 'iso1:hu#iso2:hu-sz' │ '2020-07-27' │  54   │
│   16    │ 'iso1:hu#iso2:hu-to' │ '2020-07-27' │  13   │
│   17    │ 'iso1:hu#iso2:hu-va' │ '2020-07-27' │  24   │
│   18    │ 'iso1:hu#iso2:hu-ve' │ '2020-07-27' │  66   │
│   19    │ 'iso1:hu#iso2:hu-za' │ '2020-07-27' │  264  │
│   20    │      'iso1:hu'       │ '2020-07-27' │ 4448  │
└─────────┴──────────────────────┴──────────────┴───────┘
Scrape: hu / 2020-07-27: 43.153ms

Which matches the sheet.

jzohrab commented 4 years ago

LGTM, per the data in the sheet. :-)