Skip to content

Commit 7c6c848

Browse files
improve titles
1 parent 89e8fed commit 7c6c848

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

etl/steps/export/multidim/urbanization/latest/cities_towns_rural_areas.py

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,18 @@ def create_stacked_metadata(metric, data_type, location_type=None):
249249
"""Create metadata for stacked location_type views."""
250250
# Define titles
251251
titles = {
252-
("population", "estimates"): "Population in cities, towns and suburbs, and rural areas",
253-
("population", "projections"): "Projected population in cities, towns and suburbs, and rural areas",
254-
("population", "estimates_and_projections"): "Population in cities, towns and suburbs, and rural areas",
255-
("popshare", "estimates"): "Share of population in cities, towns and suburbs, and rural areas",
256-
("popshare", "projections"): "Projected share of population in cities, towns and suburbs, and rural areas",
257-
("popshare", "estimates_and_projections"): "Share of population in cities, towns and suburbs, and rural areas",
252+
("population", "estimates"): "Population living in cities, towns and suburbs, and rural areas",
253+
("population", "projections"): "Projected population living in cities, towns and suburbs, and rural areas",
254+
("population", "estimates_and_projections"): "Population living in cities, towns and suburbs, and rural areas",
255+
("popshare", "estimates"): "Share of population living in cities, towns and suburbs, and rural areas",
256+
(
257+
"popshare",
258+
"projections",
259+
): "Projected share of population living in cities, towns and suburbs, and rural areas",
260+
(
261+
"popshare",
262+
"estimates_and_projections",
263+
): "Share of population living in cities, towns and suburbs, and rural areas",
258264
}
259265

260266
# Define description_short
@@ -332,12 +338,12 @@ def create_urban_vs_rural_metadata(metric, data_type):
332338
"""Create metadata for urban vs rural views."""
333339
# Define titles
334340
titles = {
335-
("population", "estimates"): "Population in urban and rural areas",
336-
("population", "projections"): "Projected population in urban and rural areas",
337-
("population", "estimates_and_projections"): "Population in urban and rural areas",
338-
("popshare", "estimates"): "Share of population in urban and rural areas",
339-
("popshare", "projections"): "Projected share of population in urban and rural areas",
340-
("popshare", "estimates_and_projections"): "Share of population in urban and rural areas",
341+
("population", "estimates"): "Population living in urban and rural areas",
342+
("population", "projections"): "Projected population living in urban and rural areas",
343+
("population", "estimates_and_projections"): "Population living in urban and rural areas",
344+
("popshare", "estimates"): "Share of population living in urban and rural areas",
345+
("popshare", "projections"): "Projected share of population living in urban and rural areas",
346+
("popshare", "estimates_and_projections"): "Share of population living in urban and rural areas",
341347
}
342348

343349
# Define description_short

0 commit comments

Comments
 (0)