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

Added infection source to the data #4

Merged
merged 1 commit into from
Mar 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,22 @@ eikä poisteta tai muuteta kenttien nimiä). Esimerkkidataa myös [täällä](la
id: <numeerinen id, juokseva numerointi>,
date: <havainnon aika ISO 8601 -formaatissa>,
healthCareDistrict: <sairaanhoitopiiri>,
infectionSource: <tartunnan lähteen id (eli tästä listasta), "unkwown" jos ei tiedetä ja "related to earlier" jos tarkkaa lähdettä ei tiedetä mutta tiedetään että liittyy johonkin aiempaan tapaukseen>
infectionSource: <tartunnan lähteen id (eli tästä listasta), "unkwown" jos ei tiedetä ja "related to earlier" jos tarkkaa lähdettä ei tiedetä mutta tiedetään että liittyy johonkin aiempaan tapaukseen>,
infectionSourceCountry: <jos tiedossa, infection lähdemaa ISO 3166-1 alpha-3 -formaatissa>
},
.
.
.
],
deaths: [
<samanmuotoisia objekteja kuin yllä>
{
id: <numeerinen id, juokseva numerointi>,
date: <havainnon aika ISO 8601 -formaatissa>,
healthCareDistrict: <sairaanhoitopiiri>,
},
.
.
.
]
}
```
Expand Down Expand Up @@ -73,14 +81,22 @@ and field names should remain the same and fields shouldn't be removed for examp
id: <numeric, sequential id>,
date: <date when this observation was made, ISO 8601 -format>,
healthCareDistrict: <health care district>,
infectionSource: <id of the infection source (from this array), "unkwown" if unknown and "related to earlier" if we cannot pinpoint the exact source but know it's from known exposure>
infectionSource: <id of the infection source (from this array), "unkwown" if unknown and "related to earlier" if we cannot pinpoint the exact source but know it's from known exposure>,
infectionSourceCountry: <if known, infection source country in ISO 3166-1 alpha-3 format>
},
.
.
.
],
deaths: [
<samanmuotoisia objekteja kuin yllä>
{
id: <numeric, sequential id>,
date: <date when this observation was made, ISO 8601 -format>,
healthCareDistrict: <health care district>,
},
.
.
.
]
}
```
Expand Down
30 changes: 30 additions & 0 deletions latestData.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,180 +4,210 @@
"id": "1",
"date": "2020-01-29T13:00:00.000Z",
"healthCareDistrict": "Lappi",
"infectionSourceCountry": "CHN",
"infectionSource": "unknown"
},
{
"id": "2",
"date": "2020-02-26T13:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "3",
"date": "2020-03-01T13:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "FIN",
"infectionSource": 2
},
{
"id": "4",
"date": "2020-02-28T13:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "5",
"date": "2020-03-01T13:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "FIN",
"infectionSource": 4
},
{
"id": "6",
"date": "2020-03-01T13:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "FIN",
"infectionSource": 4
},
{
"id": "7",
"date": "2020-03-02T13:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "FIN",
"infectionSource": 4
},
{
"id": "8",
"date": "2020-03-05T11:00:00.000Z",
"healthCareDistrict": "Kanta-Häme",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "9",
"date": "2020-03-05T11:00:00.000Z",
"healthCareDistrict": "Pirkanmaa",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "10",
"date": "2020-03-05T11:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "FIN",
"infectionSource": "related to earlier"
},
{
"id": "11",
"date": "2020-03-05T11:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "12",
"date": "2020-03-05T11:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "13",
"date": "2020-03-06T10:50:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "14",
"date": "2020-03-06T10:50:00.000Z",
"healthCareDistrict": "Etelä-Karjala",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "15",
"date": "2020-03-06T10:50:00.000Z",
"healthCareDistrict": "Pohjois-Pohjanmaa",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "16",
"date": "2020-03-07T10:50:00.000Z",
"healthCareDistrict": "Pirkanmaa",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "17",
"date": "2020-03-07T10:50:00.000Z",
"healthCareDistrict": "Pirkanmaa",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "18",
"date": "2020-03-07T10:50:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "19",
"date": "2020-03-07T10:50:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "20",
"date": "2020-03-08T10:30:00.000Z",
"healthCareDistrict": "Pirkanmaa",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "21",
"date": "2020-03-08T10:50:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "22",
"date": "2020-03-08T10:50:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "FIN",
"infectionSource": 21
},
{
"id": "23",
"date": "2020-03-08T11:00:00.000Z",
"healthCareDistrict": "Pohjois-Savo",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "24",
"date": "2020-03-08T17:45:00.000Z",
"healthCareDistrict": "Varsinais-Suomi",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "25",
"date": "2020-03-09T11:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "26",
"date": "2020-03-09T11:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "27",
"date": "2020-03-09T11:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "FIN",
"infectionSource": "related to earlier"
},
{
"id": "28",
"date": "2020-03-09T11:00:00.000Z",
"healthCareDistrict": "HUS",
"infectionSourceCountry": "FIN",
"infectionSource": "related to earlier"
},
{
"id": "29",
"date": "2020-03-09T11:00:00.000Z",
"healthCareDistrict": "Pirkanmaa",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
},
{
"id": "30",
"date": "2020-03-09T11:00:00.000Z",
"healthCareDistrict": "Kanta-Häme",
"infectionSourceCountry": "ITA",
"infectionSource": "unknown"
}
],
Expand Down