setting population to 12+

main
Ray Slakinski 2021-05-21 12:34:51 -04:00
parent 10fca4973d
commit b0f9d9b675
3 changed files with 3 additions and 3 deletions

View File

@ -350,7 +350,7 @@
],
"timeFrom": null,
"timeShift": null,
"title": "Total Vaccinations & Fully Vaccinated (18+)",
"title": "Total Vaccinations & Fully Vaccinated (12+)",
"type": "bargauge"
}
],

View File

@ -351,7 +351,7 @@
],
"timeFrom": null,
"timeShift": null,
"title": "Total Vaccinations & Fully Vaccinated (18+)",
"title": "Total Vaccinations & Fully Vaccinated (12+)",
"type": "bargauge"
}
],

View File

@ -64,7 +64,7 @@ func init() {
func updateMetrics() {
data_url := "https://data.ontario.ca/api/3/action/datastore_search?sort=report_date+desc&limit=1&resource_id=8a89caa9-511c-4568-af89-7f2174b4378c"
eligiblePopulation := int64(11971129) // Ontario population 18+
eligiblePopulation := int64(12932471) // Ontario population 12+ (https://www150.statcan.gc.ca/t1/tbl1/en/cv.action?pid=1710000501)
resp, getErr := http.Get(data_url)
if getErr != nil {
log.Println(getErr)