mirror of
https://github.com/dataforcanada/d4c-datapkg-statistical.git
synced 2026-06-13 14:10:55 +02:00
Should have used count_total_4 in calculation instead of count_total_1
This commit is contained in:
@@ -71,7 +71,7 @@
|
|||||||
"SELECT\n",
|
"SELECT\n",
|
||||||
" geo.da_dguid,\n",
|
" geo.da_dguid,\n",
|
||||||
" cop.count_total_4,\n",
|
" cop.count_total_4,\n",
|
||||||
" (cop.count_total_1 / (ST_Area_Spheroid(ST_FlipCoordinates(geo.geom)) / 1000000.0)) AS count_total_4_per_square_km,\n",
|
" (cop.count_total_4 / (ST_Area_Spheroid(ST_FlipCoordinates(geo.geom)) / 1000000.0)) AS count_total_4_per_square_km,\n",
|
||||||
" geo.geom\n",
|
" geo.geom\n",
|
||||||
"FROM\n",
|
"FROM\n",
|
||||||
" 'https://data.dataforcanada.org/processed/statistics_canada/census_of_population/2021/tabular/da_2021.parquet' AS cop,\n",
|
" 'https://data.dataforcanada.org/processed/statistics_canada/census_of_population/2021/tabular/da_2021.parquet' AS cop,\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user