Exposes one row per (year, canonical_govid) drawn from long.population. Used by per-capita denominators and peer matching.
9 lines
155 B
SQL
9 lines
155 B
SQL
CREATE OR REPLACE VIEW gov_population_yearly AS
|
|
SELECT DISTINCT
|
|
year,
|
|
canonical_govid,
|
|
population,
|
|
popyear
|
|
FROM long
|
|
WHERE population IS NOT NULL;
|