normalize sfsites for il
| Key Details |
|-|
| Resolves #215 |
State: il |
Site: sfsites |
Notes
Here's an example of the parsed data:
{
"Id": "a05t00000096y7sAAA",
"Geolocation__Latitude__s": 42.37019,
"Geolocation__Longitude__s": -88.83004,
"Testing_Center__c": "4-29 - Boone County - Fire District 3 - First Dose",
"Website__c": "https://covidvaccination.dph.illinois.gov/",
"Postal_Code__c": "61065",
"Street__c": "305 West Grove St",
"City__c": "Poplar Grove",
"Location_Type__c": "Public health provider - public health clinic",
"County__c": "Boone"
}
Couple questions:
- ~There's a
statewide.parsed.ndjson
, which specifies locations that allow vaccinations for anyone in the state of IL, but there wasn't a clear attribute in the Normalize schema to denote this. Anyone know of an alternative? Maybe notes
?~
Added something to the notes, per PR convo
- ~I filter out all locations that point to https://covidvaccination.dph.illinois.gov, because those will likely be dupes from il/juvare. Is that the right choice, or are dupes ok?~
Left in the dupes
- ~Some of these are Walgreens/Costco locations, but no specific identifiers so I can't use the
authority
field. Should I still fill out the parent_organization
?~
Added the parent_organization
Normalized Data sample
{
"id": "sfsites:a05t000000972VtAAI",
"name": "LIVINGSTON COUNTY HEALTH DEPARTMENT (Moderna)",
"address": {
"street1": "310 E TORRANCE AVE",
"street2": null,
"city": "PONTIAC",
"state": "IL",
"zip": "61764"
},
"location": {
"latitude": 40.8663711547852,
"longitude": -88.6266403198242
},
"contact": [
{
"contact_type": "booking",
"phone": null,
"website": "https://lchd.us/site/covid-19-vaccination/",
"email": null,
"other": null
}
],
"languages": null,
"opening_dates": null,
"opening_hours": null,
"availability": {
"drop_in": null,
"appointments": true
},
"inventory": null,
"access": null,
"parent_organization": null,
"links": null,
"notes": [
"Public health provider - public health clinic"
],
"active": null,
"source": {
"source": "sfsites",
"id": "a05t000000972VtAAI",
"fetched_from_uri": "https://coronavirus.illinois.gov/s/vaccination-location",
"fetched_at": "2021-05-04T03:24:10.938829",
"published_at": null,
"data": {
"Id": "a05t000000972VtAAI",
"Geolocation__Latitude__s": 40.8663711547852,
"Geolocation__Longitude__s": -88.6266403198242,
"Testing_Center__c": "LIVINGSTON COUNTY HEALTH DEPARTMENT (Moderna)",
"Website__c": "Livingston https://lchd.us/site/covid-19-vaccination/",
"Postal_Code__c": "61764",
"Street__c": "310 E TORRANCE AVE",
"City__c": "PONTIAC",
"Location_Type__c": "Public health provider - public health clinic",
"County__c": "LIVINGSTON"
}
}
}
{
"id": "sfsites:a05t000000972YGAAY",
"name": "VNA Health Care",
"address": {
"street1": "801 Villa Street",
"street2": null,
"city": "Elgin",
"state": "IL",
"zip": "60120"
},
"location": {
"latitude": 42.027997,
"longitude": -88.260293
},
"contact": [
{
"contact_type": "booking",
"phone": null,
"website": "https://www.vnahealth.com/covid-vaccine/",
"email": null,
"other": null
}
],
"languages": null,
"opening_dates": null,
"opening_hours": null,
"availability": {
"drop_in": null,
"appointments": true
},
"inventory": null,
"access": null,
"parent_organization": null,
"links": null,
"notes": [
"FQHC"
],
"active": null,
"source": {
"source": "sfsites",
"id": "a05t000000972YGAAY",
"fetched_from_uri": "https://coronavirus.illinois.gov/s/vaccination-location",
"fetched_at": "2021-05-04T03:24:10.938829",
"published_at": null,
"data": {
"Id": "a05t000000972YGAAY",
"Geolocation__Latitude__s": 42.027997,
"Geolocation__Longitude__s": -88.260293,
"Testing_Center__c": "VNA Health Care",
"Website__c": "https://www.vnahealth.com/covid-vaccine/",
"Postal_Code__c": "60120",
"Street__c": "801 Villa Street",
"City__c": "Elgin",
"Location_Type__c": "FQHC",
"County__c": "KANE"
}
}
}
{
"id": "sfsites:a05t000000972ffAAA",
"name": "Walgreens",
"address": {
"street1": "345 N LAKE ST",
"street2": null,
"city": "MUNDELEIN",
"state": "IL",
"zip": "60060"
},
"location": {
"latitude": 42.2670565,
"longitude": -88.0040094
},
"contact": [
{
"contact_type": "booking",
"phone": null,
"website": "https://www.walgreens.com/findcare/vaccination/covid-19",
"email": null,
"other": null
}
],
"languages": null,
"opening_dates": null,
"opening_hours": null,
"availability": {
"drop_in": null,
"appointments": true
},
"inventory": null,
"access": null,
"parent_organization": {
"id": "walgreens",
"name": null
},
"links": null,
"notes": [
"Pharmacy"
],
"active": null,
"source": {
"source": "sfsites",
"id": "a05t000000972ffAAA",
"fetched_from_uri": "https://coronavirus.illinois.gov/s/vaccination-location",
"fetched_at": "2021-05-04T03:24:10.938829",
"published_at": null,
"data": {
"Id": "a05t000000972ffAAA",
"Geolocation__Latitude__s": 42.2670565,
"Geolocation__Longitude__s": -88.0040094,
"Testing_Center__c": "Walgreens",
"Website__c": "https://www.walgreens.com/findcare/vaccination/covid-19",
"Postal_Code__c": "60060",
"Street__c": "345 N LAKE ST",
"City__c": "MUNDELEIN",
"Location_Type__c": "Pharmacy",
"County__c": "LAKE"
}
}
}
Before Opening a PR
- [x] I tested this using the CLI (e.g.,
poetry run vaccine-feed-ingest normalize il/sfsites
)
- [x] I ran auto-formatting:
poetry run tox -e lint-fix