fixed url for population source

main
Ray Slakinski 2021-05-21 14:17:31 -04:00
parent 6238ff7a3b
commit db7196b2bf
1 changed files with 1 additions and 1 deletions

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(12932471) // Ontario population 12+ (https://www150.statcan.gc.ca/t1/tbl1/en/cv.action?pid=1710000501)
eligiblePopulation := int64(12932471) // Ontario population 12+ (https://www150.statcan.gc.ca/t1/tbl1/en/cv!recreate.action?pid=1710000501&selectedNodeIds=1D7,3D16,3D17,3D18,3D20,3D21,3D22,3D101&checkedLevels=1D1&refPeriods=20160101,20200101&dimensionLayouts=layout2,layout2,layout3,layout2&vectorDisplay=false)
resp, getErr := http.Get(data_url)
if getErr != nil {
log.Println(getErr)