From 9e4a2a6ba28c0ac369dc1c37f08fb5372f093b0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Rod=C3=A9s-Guirao?= Date: Tue, 15 Oct 2024 01:19:56 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20metadata:=20remove=20line=20breaks?= =?UTF-8?q?=20(#3401)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ✨ metadata: remove line breaks * remove line breaks in metadata * wip * wip --- .../covid/latest/google_mobility.meta.yml | 14 +- .../data/garden/covid/latest/yougov.meta.yml | 102 ++++----- .../garden/democracy/2024-03-07/bmr.meta.yml | 104 ++++----- .../garden/democracy/2024-03-07/bti.meta.yml | 12 +- .../garden/democracy/2024-03-07/eiu.meta.yml | 12 +- .../garden/democracy/2024-03-07/fh.meta.yml | 36 ++-- .../2024-03-07/lexical_index.meta.yml | 64 +++--- .../democracy/2024-03-07/polity.meta.yml | 28 +-- .../democracy/2024-03-07/vdem/vdem.meta.yml | 106 ++++----- .../2023-09-27/survivor_percentiles.meta.yml | 6 +- .../2023-10-03/life_tables.meta.yml | 58 ++--- .../2023-10-09/life_expectancy.meta.yml | 38 ++-- .../2023-10-20/broken_limits_le.meta.yml | 12 +- .../2024-06-11/isaps_plastic_surgery.meta.yml | 10 +- .../2024-09-05/seattle_pathogens.meta.yml | 6 +- .../data/garden/hmd/2023-09-19/hmd.meta.yml | 58 ++--- .../2023-10-11/life_expectancy_birth.meta.yml | 6 +- .../2022-07-11/un_wpp/un_wpp_grapher.meta.yml | 28 +-- .../garden/un/2023-10-02/un_wpp_lt.meta.yml | 24 +-- .../data/garden/un/2024-07-11/un_wpp.meta.yml | 188 ++++++++-------- .../data/garden/un/2024-07-12/un_wpp.meta.yml | 202 +++++++++--------- .../data/garden/war/2023-06-22/ucdp.meta.yml | 68 +++--- .../data/garden/war/2023-07-07/mars.meta.yml | 24 +-- .../data/garden/war/2023-07-18/cow.meta.yml | 48 ++--- .../garden/war/2023-07-20/brecke.meta.yml | 24 +-- .../garden/war/2023-07-21/prio_v31.meta.yml | 46 ++-- .../garden/war/2023-08-05/cow_mid.meta.yml | 44 ++-- .../data/garden/war/2023-08-15/mie.meta.yml | 24 +-- .../garden/war/2023-09-21/brecke.meta.yml | 18 +- .../data/garden/war/2023-09-21/cow.meta.yml | 28 +-- .../data/garden/war/2023-09-21/mars.meta.yml | 46 ++-- .../data/garden/who/2022-09-30/ghe.meta.yml | 86 ++++---- .../data/garden/who/2024-07-30/ghe.meta.yml | 86 ++++---- 33 files changed, 828 insertions(+), 828 deletions(-) diff --git a/etl/steps/data/garden/covid/latest/google_mobility.meta.yml b/etl/steps/data/garden/covid/latest/google_mobility.meta.yml index 47a5005cecd..ac12334c836 100644 --- a/etl/steps/data/garden/covid/latest/google_mobility.meta.yml +++ b/etl/steps/data/garden/covid/latest/google_mobility.meta.yml @@ -36,19 +36,19 @@ tables: unit: '%' short_unit: '%' description_short: |- - <% if place == 'Grocery & pharmacy' %> + <%- if place == 'Grocery & pharmacy' -%> Mobility trends for places like grocery markets, food warehouses, farmers markets, specialty food shops, drug stores, and pharmacies. - <% elif place == 'Parks' %> + <%- elif place == 'Parks' -%> Mobility trends for places like local parks, national parks, public beaches, marinas, dog parks, plazas, and public gardens. - <% elif place == 'Transit stations' %> + <%- elif place == 'Transit stations' -%> Mobility trends for places like public transport hubs such as subway, bus, and train stations. - <% elif place == 'Retail & recreation' %> + <%- elif place == 'Retail & recreation' -%> Mobility trends for places like restaurants, cafes, shopping centers, theme parks, museums, libraries, and movie theaters. - <% elif place == 'Residential' %> + <%- elif place == 'Residential' -%> Mobility trends for places of residence. - <% elif place == 'Workplaces' %> + <%- elif place == 'Workplaces' -%> Mobility trends for places of work. - <% endif %> + <%- endif -%> display: name: << place >> diff --git a/etl/steps/data/garden/covid/latest/yougov.meta.yml b/etl/steps/data/garden/covid/latest/yougov.meta.yml index 54e2dfb031a..d4ac7be9e20 100644 --- a/etl/steps/data/garden/covid/latest/yougov.meta.yml +++ b/etl/steps/data/garden/covid/latest/yougov.meta.yml @@ -17,111 +17,111 @@ definitions: part1: |- Have you had the first or second doses of a Coronavirus (COVID-19) vaccine? question_mapper: |- - <% if (question == 'activities_improve_health') %> + <%- if (question == 'activities_improve_health') -%> {definitions.questions_templates.standard.part1} 'I feel it is important to carry out activities which will improve my health' - <% elif (question == 'avoided_crowded_areas') %> + <%- elif (question == 'avoided_crowded_areas') -%> {definitions.questions_templates.i12.part1} 'Avoided crowded areas' {definitions.questions_templates.i12.part2} - <% elif (question == 'avoided_going_out') %> + <%- elif (question == 'avoided_going_out') -%> {definitions.questions_templates.i12.part1} 'Avoided going out in general' {definitions.questions_templates.i12.part2} - <% elif (question == 'avoided_guests_at_home') %> + <%- elif (question == 'avoided_guests_at_home') -%> {definitions.questions_templates.i12.part1} 'Avoided having guests to your home' {definitions.questions_templates.i12.part2} - <% elif (question == 'avoided_healthcare_settings') %> + <%- elif (question == 'avoided_healthcare_settings') -%> {definitions.questions_templates.i12.part1} 'Avoided going to hospital or other healthcare settings' {definitions.questions_templates.i12.part2} - <% elif (question == 'avoided_large_gatherings') %> + <%- elif (question == 'avoided_large_gatherings') -%> {definitions.questions_templates.i12.part1} 'Avoided large-sized social gatherings (more than 10 people)' {definitions.questions_templates.i12.part2} - <% elif (question == 'avoided_medium_gatherings') %> + <%- elif (question == 'avoided_medium_gatherings') -%> {definitions.questions_templates.i12.part1} 'Avoided medium-sized social gatherings (between 3 and 10 people)' {definitions.questions_templates.i12.part2} - <% elif (question == 'avoided_objects_public') %> + <%- elif (question == 'avoided_objects_public') -%> {definitions.questions_templates.i12.part1} 'Avoided touching objects in public (e.g. elevator buttons or doors)' {definitions.questions_templates.i12.part2} - <% elif (question == 'avoided_people_with_symptoms') %> + <%- elif (question == 'avoided_people_with_symptoms') -%> {definitions.questions_templates.i12.part1} 'Avoided contact with people who have symptoms or you think may have been exposed to the coronavirus' {definitions.questions_templates.i12.part2} - <% elif (question == 'avoided_public_events') %> + <%- elif (question == 'avoided_public_events') -%> {definitions.questions_templates.i12.part1} 'Avoided attending public events, such as sports matches, festivals, theatres, clubs, or going to religious services' {definitions.questions_templates.i12.part2} - <% elif (question == 'avoided_public_transport') %> + <%- elif (question == 'avoided_public_transport') -%> {definitions.questions_templates.i12.part1} 'Avoided taking public transport' {definitions.questions_templates.i12.part2} - <% elif (question == 'avoided_shops') %> + <%- elif (question == 'avoided_shops') -%> {definitions.questions_templates.i12.part1} 'Avoided going to shops' {definitions.questions_templates.i12.part2} - <% elif (question == 'avoided_small_gatherings') %> + <%- elif (question == 'avoided_small_gatherings') -%> {definitions.questions_templates.i12.part1} 'Avoided small social gatherings (not more than 2 people)' {definitions.questions_templates.i12.part2} - <% elif (question == 'avoided_working_outside_home') %> + <%- elif (question == 'avoided_working_outside_home') -%> {definitions.questions_templates.i12.part1} 'Avoided working outside your home' {definitions.questions_templates.i12.part2} - <% elif (question == 'children_avoided_school') %> + <%- elif (question == 'children_avoided_school') -%> {definitions.questions_templates.i12.part1} 'Avoided letting your children go to school/university' {definitions.questions_templates.i12.part2} - <% elif (question == 'cleaned_surfaces_home') %> + <%- elif (question == 'cleaned_surfaces_home') -%> {definitions.questions_templates.i12.part1} 'Cleaned frequently touched surfaces in the home (e.g. doorknobs, toilets, taps)' {definitions.questions_templates.i12.part2} - <% elif (question == 'covered_mouth_sneeze') %> + <%- elif (question == 'covered_mouth_sneeze') -%> {definitions.questions_templates.i12.part1} 'Covered your nose and mouth when sneezing or coughing' {definitions.questions_templates.i12.part2} - <% elif (question == 'covid_dangerous_to_me') %> + <%- elif (question == 'covid_dangerous_to_me') -%> {definitions.questions_templates.standard.part1} 'Coronavirus (COVID-19) is very dangerous for me' - <% elif (question == 'covid_vaccine_important_health') %> + <%- elif (question == 'covid_vaccine_important_health') -%> How important do you think getting a COVID-19 vaccine is for your health? - <% elif (question == 'covid_vaccine_received_one_or_two_doses') %> + <%- elif (question == 'covid_vaccine_received_one_or_two_doses') -%> Have you had the first or second doses of a Coronavirus (COVID-19) vaccine? - <% elif (question == 'covid_vaccine_will_prevent_transmission') %> + <%- elif (question == 'covid_vaccine_will_prevent_transmission') -%> {definitions.questions_templates.standard.part1} 'A vaccine will completely prevent those who receive it from transmitting COVID19 to others' - <% elif (question == 'covid_vaccine_will_protect_health') %> + <%- elif (question == 'covid_vaccine_will_protect_health') -%> {definitions.questions_templates.standard.part1} 'A vaccine will completely protect those who receive it from possible health effects of COVID19' - <% elif (question == 'difficult_to_isolate') %> + <%- elif (question == 'difficult_to_isolate') -%> If you were advised to do so by a healthcare professional or public health authority, how easy or difficult would it be for you be to self-isolate for 7 days? - <% elif (question == 'eaten_separately') %> + <%- elif (question == 'eaten_separately') -%> {definitions.questions_templates.i12.part1} 'Eaten separately at home, when normally you would eat a meal with others' {definitions.questions_templates.i12.part2} - <% elif (question == 'govt_will_provide_effective_covid_vaccine') %> + <%- elif (question == 'govt_will_provide_effective_covid_vaccine') -%> {definitions.questions_templates.standard.part1} 'I believe government health authorities in my country will provide me with an effective COVID19 vaccine' - <% elif (question == 'hand_sanitiser') %> + <%- elif (question == 'hand_sanitiser') -%> {definitions.questions_templates.i12.part1} 'Used hand sanitiser' {definitions.questions_templates.i12.part2} - <% elif (question == 'handwashing_yesterday') %> + <%- elif (question == 'handwashing_yesterday') -%> Thinking about yesterday… about how many times, would you say you washed your hands with soap or used hand sanitiser? - <% elif (question == 'household_members_contact') %> + <%- elif (question == 'household_members_contact') -%> About how many people from your household have you come into physical contact with (within 2 meters / 6 feet)? - <% elif (question == 'life_greatly_affected') %> + <%- elif (question == 'life_greatly_affected') -%> {definitions.questions_templates.standard.part1} 'My life has been greatly affected by coronavirus (COVID-19)' - <% elif (question == 'likely_get_covid_future') %> + <%- elif (question == 'likely_get_covid_future') -%> {definitions.questions_templates.standard.part1} 'It is likely that I will get coronavirus (COVID-19) in the future' - <% elif (question == 'mask_at_home') %> + <%- elif (question == 'mask_at_home') -%> {definitions.questions_templates.i12.part1} 'Worn a face mask inside your home' {definitions.questions_templates.i12.part2} - <% elif (question == 'mask_at_work') %> + <%- elif (question == 'mask_at_work') -%> {definitions.questions_templates.i12.part1} 'Worn a face mask at your place of work' {definitions.questions_templates.i12.part2} - <% elif (question == 'mask_clothing_store') %> + <%- elif (question == 'mask_clothing_store') -%> {definitions.questions_templates.i12.part1} 'Worn a face mask inside a clothing / footwear shop' {definitions.questions_templates.i12.part2} - <% elif (question == 'mask_grocery_store') %> + <%- elif (question == 'mask_grocery_store') -%> {definitions.questions_templates.i12.part1} 'Worn a face mask inside a grocery store / supermarket' {definitions.questions_templates.i12.part2} - <% elif (question == 'mask_not_possible') %> + <%- elif (question == 'mask_not_possible') -%> {definitions.questions_templates.standard.part1} 'Wearing a mask to protect me against coronavirus (COVID-19) is not possible for me' - <% elif (question == 'mask_outside_home') %> + <%- elif (question == 'mask_outside_home') -%> {definitions.questions_templates.i12.part1} 'Worn a face mask outside your home (e.g. when on public transport, going to a supermarket, going to a main road)' {definitions.questions_templates.i12.part2} - <% elif (question == 'mask_protect_me') %> + <%- elif (question == 'mask_protect_me') -%> {definitions.questions_templates.standard.part1} 'Wearing a mask will protect me against coronavirus (COVID-19)' - <% elif (question == 'mask_protect_others') %> + <%- elif (question == 'mask_protect_others') -%> {definitions.questions_templates.standard.part1} 'Wearing a mask will protect others against coronavirus (COVID-19)' - <% elif (question == 'mask_public_transport') %> + <%- elif (question == 'mask_public_transport') -%> {definitions.questions_templates.i12.part1} 'Worn a face mask on public transportation' {definitions.questions_templates.i12.part2} - <% elif (question == 'people_contact_outside_household') %> + <%- elif (question == 'people_contact_outside_household') -%> Not including those people in your household, about how many people have you come into physical contact with (within 2 meters / 6 feet)? - <% elif (question == 'slept_separate_bedrooms') %> + <%- elif (question == 'slept_separate_bedrooms') -%> {definitions.questions_templates.i12.part1} 'Slept in separate bedrooms at home, when normally you would share a bedroom' {definitions.questions_templates.i12.part2} - <% elif (question == 'times_left_home_yesterday') %> + <%- elif (question == 'times_left_home_yesterday') -%> How many times did you leave your home yesterday? If you are not staying at home, how many times did you leave where you are staying yesterday? - <% elif (question == 'trust_covid_vaccines') %> + <%- elif (question == 'trust_covid_vaccines') -%> How much do you trust COVID-19 vaccines? - <% elif (question == 'uncertain_covid_vaccinate_this_week') %> + <%- elif (question == 'uncertain_covid_vaccinate_this_week') -%> {definitions.questions_templates.standard.part1} 'If a Covid-19 vaccine were made available to me this week, I would definitely get it' (neutral) - <% elif (question == 'unwillingness_covid_vaccinate_this_week') %> + <%- elif (question == 'unwillingness_covid_vaccinate_this_week') -%> {definitions.questions_templates.standard.part1} 'If a Covid-19 vaccine were made available to me this week, I would definitely get it' (disagreement) - <% elif (question == 'washed_hands') %> - <% elif (question == 'willingness_covid_vaccinate_this_week') %> + <%- elif (question == 'washed_hands') -%> + <%- elif (question == 'willingness_covid_vaccinate_this_week') -%> {definitions.questions_templates.standard.part1} 'If a Covid-19 vaccine were made available to me this week, I would definitely get it' (agreement) - <% elif (question == 'willingness_isolate_if_advised') %> + <%- elif (question == 'willingness_isolate_if_advised') -%> {definitions.questions_templates.i12.part1} 'Washed hands with soap and water' {definitions.questions_templates.i12.part2} - <% elif (question == 'willingness_isolate_if_symptoms') %> + <%- elif (question == 'willingness_isolate_if_symptoms') -%> Thinking about the next 7 days… would you isolate yourself after feeling unwell or having any of the following new symptoms: a dry cough, fever, loss of sense of smell, loss of sense of taste, shortness of breath or difficulty breathing? - <% elif (question == 'worried_covid_vaccine_side_effects') %> + <%- elif (question == 'worried_covid_vaccine_side_effects') -%> {definitions.questions_templates.standard.part1} 'I am worried about potential side effects of a COVID19 vaccine' - <% endif %> + <%- endif -%> # Learn more about the available fields: # http://docs.owid.io/projects/etl/architecture/metadata/reference/ diff --git a/etl/steps/data/garden/democracy/2024-03-07/bmr.meta.yml b/etl/steps/data/garden/democracy/2024-03-07/bmr.meta.yml index eb105d13086..94b8dbde70c 100644 --- a/etl/steps/data/garden/democracy/2024-03-07/bmr.meta.yml +++ b/etl/steps/data/garden/democracy/2024-03-07/bmr.meta.yml @@ -115,38 +115,38 @@ tables: variables: num_countries_regime: title: |- - <% if category == 0 %> + <%- if category == 0 -%> Number of non-democracies - <% elif category == 1 %> + <%- elif category == 1 -%> Number of democracies - <% else %> + <%- else -%> Number of countries in an unknown regime - <% endif %> + <%- endif -%> unit: "countries" description_short: |- - <% if category == 0 %> + <%- if category == 0 -%> The number of countries that are not democracies in a given year. - <% elif category == 1 %> + <%- elif category == 1 -%> The number of countries that are democracies in a given year. - <% else %> + <%- else -%> The number of countries in the region that are in an unknown regime in a given year. - <% endif %> + <%- endif -%> description_key: - *dk_democracy_1 num_countries_regime_ws: title: |- - <% if category == 0 %> + <%- if category == 0 -%> Number of non-democracies, including women's suffrage - <% elif category == 1 %> + <%- elif category == 1 -%> Number of democracies, including women's suffrage - <% endif %> + <%- endif -%> unit: "countries" description_short: |- - <% if category == 0 %> + <%- if category == 0 -%> The number of countries that are not democracies with women's suffrage in a given year. - <% elif category == 1 %> + <%- elif category == 1 -%> The number of countries in the region that are democracies with women's suffrage in a given year. - <% endif %> + <%- endif -%> description_key: - *dk_democracy_ws_1 @@ -165,34 +165,34 @@ tables: variables: num_countries_years_in_democracy_consec: title: |- - <% if category == '91+' %> + <%- if category == '91+' -%> Number of democracies aged 91 or older - <% else %> + <%- else -%> Number of democracies aged << category >> years - <% endif %> + <%- endif -%> unit: "countries" description_short: |- - <% if category == '91+' %> + <%- if category == '91+' -%> The number of countries that have been democracies for 91 or more years straight. - <% else %> + <%- else -%> The number of countries that have been democracies for << category >> years straight. - <% endif %> + <%- endif -%> description_key: - *dk_democracy_1 num_countries_years_in_democracy_ws_consec: title: |- - <% if category == '91+' %> + <%- if category == '91+' -%> Number of democracies (incl. women's suffrage) aged 91 or older - <% else %> + <%- else -%> Number of democracies (incl. women's suffrage) aged << category >> years - <% endif %> + <%- endif -%> unit: "countries" description_short: |- - <% if category == '91+' %> + <%- if category == '91+' -%> The number of countries that have been democracies (including women's suffrage) for 91 or more years straight. - <% else %> + <%- else -%> The number of countries that have been democracies (including women's suffrage) for << category >> years straight. - <% endif %> + <%- endif -%> description_key: - *dk_democracy_ws_1 @@ -211,38 +211,38 @@ tables: variables: population_regime: title: |- - <% if category == 0 %> + <%- if category == 0 -%> People living in non-democracies - <% elif category == 1 %> + <%- elif category == 1 -%> People living in democracies - <% else %> + <%- else -%> People living in countries without regime data - <% endif %> + <%- endif -%> unit: "people" description_short: |- - <% if category == 0 %> + <%- if category == 0 -%> The number of people that live in countries that are not democracies. - <% elif category == 1 %> + <%- elif category == 1 -%> The number of people that live in countries that are democracies. - <% else %> + <%- else -%> The number of people that live in countries for which there is no data. - <% endif %> + <%- endif -%> description_key: - *dk_democracy_1 population_regime_ws: title: |- - <% if category == 0 %> + <%- if category == 0 -%> People living in non-democracies, including women's suffrage - <% elif category == 1 %> + <%- elif category == 1 -%> People living in democracies, including women's suffrage - <% endif %> + <%- endif -%> unit: "people" description_short: |- - <% if category == 0 %> + <%- if category == 0 -%> The number of people that live in countries that are not democracies with women's suffrage. - <% elif category == 1 %> + <%- elif category == 1 -%> The number of people that live in countries that are democracies with women's suffrage. - <% endif %> + <%- endif -%> description_key: - *dk_democracy_ws_1 @@ -261,33 +261,33 @@ tables: variables: population_years_in_democracy_consec: title: |- - <% if category == '91+' %> + <%- if category == '91+' -%> People living in 91-year-old (or older) democracies - <% else %> + <%- else -%> People living in (<< category >>)-year-old democracies - <% endif %> + <%- endif -%> unit: "people" description_short: |- - <% if category == '91+' %> + <%- if category == '91+' -%> The number of people that live in countries with 91-year-old democracies. - <% else %> + <%- else -%> The number of people that live in countries with democracies aged << category >> years. - <% endif %> + <%- endif -%> description_key: - *dk_democracy_1 population_years_in_democracy_ws_consec: title: |- - <% if category == '91+' %> + <%- if category == '91+' -%> People living in 91-year-old (or older) democracies (incl. women's suffrage) - <% else %> + <%- else -%> People living in (<< category >>)-year-old democracies (incl. women's suffrage) - <% endif %> + <%- endif -%> unit: "people" description_short: |- - <% if category == '91+' %> + <%- if category == '91+' -%> The number of people that live in countries with 91-year-old democracies with women's suffrage. - <% else %> + <%- else -%> The number of people that live in countries with democracies with women's suffrage aged << category >> years. - <% endif %> + <%- endif -%> description_key: - *dk_democracy_ws_1 diff --git a/etl/steps/data/garden/democracy/2024-03-07/bti.meta.yml b/etl/steps/data/garden/democracy/2024-03-07/bti.meta.yml index 908916f54b4..9c68862c22d 100644 --- a/etl/steps/data/garden/democracy/2024-03-07/bti.meta.yml +++ b/etl/steps/data/garden/democracy/2024-03-07/bti.meta.yml @@ -158,11 +158,11 @@ tables: variables: num_regime_bti: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries with unknown regime - <% else %> + <%- else -%> Number of << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> - <% endif %> + <%- endif -%> unit: "countries" @@ -170,11 +170,11 @@ tables: variables: pop_regime_bti: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of people living in countries with unknown regime - <% else %> + <%- else -%> Number of people living in << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> - <% endif %> + <%- endif -%> description_short: "Number of countries with available data." unit: "people" diff --git a/etl/steps/data/garden/democracy/2024-03-07/eiu.meta.yml b/etl/steps/data/garden/democracy/2024-03-07/eiu.meta.yml index 80be96366c0..320997b8c70 100644 --- a/etl/steps/data/garden/democracy/2024-03-07/eiu.meta.yml +++ b/etl/steps/data/garden/democracy/2024-03-07/eiu.meta.yml @@ -82,11 +82,11 @@ tables: variables: num_regime_eiu: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries with unknown regime - <% else %> + <%- else -%> Number of << category.replace('cracy', 'cracies').replace('regime', 'regimes') >> - <% endif %> + <%- endif -%> unit: "countries" num_people: @@ -96,11 +96,11 @@ tables: variables: pop_regime_eiu: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of people living in countries with unknown regime - <% else %> + <%- else -%> Number of people living in << category.replace('cracy', 'cracies').replace('regime', 'regimes') >> - <% endif %> + <%- endif -%> description_short: "Number of countries with available data." unit: "people" diff --git a/etl/steps/data/garden/democracy/2024-03-07/fh.meta.yml b/etl/steps/data/garden/democracy/2024-03-07/fh.meta.yml index 06c8d2595c4..21e9464313f 100644 --- a/etl/steps/data/garden/democracy/2024-03-07/fh.meta.yml +++ b/etl/steps/data/garden/democracy/2024-03-07/fh.meta.yml @@ -90,47 +90,47 @@ tables: variables: num_regime_fh: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries with unknown regime - <% elif category == 'Not free' %> + <%- elif category == 'Not free' -%> Number of not-free countries - <% elif category == 'Partly free' %> + <%- elif category == 'Partly free' -%> Number of partly-free countries - <% elif category == 'Free' %> + <%- elif category == 'Free' -%> Number of free countries - <% endif %> + <%- endif -%> unit: "countries" num_electdem_fh: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries with unknown regime (electoral democracies) - <% elif category == 'Non-electoral democracy' %> + <%- elif category == 'Non-electoral democracy' -%> Number of not-electoral democracies - <% elif category == 'Electoral democracy' %> + <%- elif category == 'Electoral democracy' -%> Number of electoral democracies - <% endif %> + <%- endif -%> unit: "countries" pop_regime_fh: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> People living in countries without regime data - <% elif category == 'Not free' %> + <%- elif category == 'Not free' -%> People living in not-free countries - <% elif category == 'Partly free' %> + <%- elif category == 'Partly free' -%> People living in partly-free countries - <% elif category == 'Free' %> + <%- elif category == 'Free' -%> People living in free countries - <% endif %> + <%- endif -%> unit: "countries" pop_electdem_fh: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> People living in countries without democracy data - <% elif category == 'Non-electoral democracy' %> + <%- elif category == 'Non-electoral democracy' -%> People living in not-electoral democracies - <% elif category == 'Electoral democracy' %> + <%- elif category == 'Electoral democracy' -%> People living in electoral democracies - <% endif %> + <%- endif -%> unit: "countries" diff --git a/etl/steps/data/garden/democracy/2024-03-07/lexical_index.meta.yml b/etl/steps/data/garden/democracy/2024-03-07/lexical_index.meta.yml index f7e68dde8fb..04d743f2e8f 100644 --- a/etl/steps/data/garden/democracy/2024-03-07/lexical_index.meta.yml +++ b/etl/steps/data/garden/democracy/2024-03-07/lexical_index.meta.yml @@ -217,95 +217,95 @@ tables: variables: num_democracy_lied: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries with unknown regime (democracy/autocracy) - <% else %> + <%- else -%> Number of << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> - <% endif %> + <%- endif -%> # description_short: unit: "countries" num_group_age_electdem_lied: title: |- - <% if 'years' in category %> + <%- if 'years' in category -%> Number of electoral democracies aged << category >> - <% elif category == '-1' %> + <%- elif category == '-1' -%> Number of countries with unknown regime (age groups electoral) - <% else %> + <%- else -%> Number of << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> (age groups electoral) - <% endif %> + <%- endif -%> unit: "countries" num_group_age_polyarchy_lied: title: |- - <% if 'years' in category %> + <%- if 'years' in category -%> Number of polyarchies aged << category >> - <% elif category == '-1' %> + <%- elif category == '-1' -%> Number of countries with unknown regime (age groups polyarchy) - <% else %> + <%- else -%> Number of << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> (age groups polyarchy) - <% endif %> + <%- endif -%> # description_short: unit: "countries" num_regime_lied: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries with unknown regime - <% else %> + <%- else -%> Number of << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> - <% endif %> + <%- endif -%> # description_short: unit: "countries" num_suffrage_lied: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries with unknown suffrage - <% else %> + <%- else -%> Number of countries with << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> - <% endif %> + <%- endif -%> # description_short: unit: "countries" pop_democracy_lied: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> People living in countries with unknown regime (autocracy/democracy) - <% else %> + <%- else -%> People living in << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> - <% endif %> + <%- endif -%> # description_short: unit: "people" pop_group_age_electdem_lied: title: |- - <% if 'years' in category %> + <%- if 'years' in category -%> People living in electoral democracies aged << category >> - <% else %> + <%- else -%> People living in << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> (age groups electoral) - <% endif %> + <%- endif -%> # description_short: unit: "people" pop_group_age_polyarchy_lied: title: |- - <% if 'years' in category %> + <%- if 'years' in category -%> People living in polyarchies aged << category >> - <% else %> + <%- else -%> People living in << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> (age groups polyarchy) - <% endif %> + <%- endif -%> # description_short: unit: "people" pop_regime_lied: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> People living in countries with unknown regime - <% else %> + <%- else -%> People living in << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> - <% endif %> + <%- endif -%> # description_short: unit: "people" pop_suffrage_lied: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> People living in countries with unknown suffrage - <% else %> + <%- else -%> People living in countries with << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> - <% endif %> + <%- endif -%> # description_short: unit: "people" diff --git a/etl/steps/data/garden/democracy/2024-03-07/polity.meta.yml b/etl/steps/data/garden/democracy/2024-03-07/polity.meta.yml index eb736f20c7a..3c49dcb12d6 100644 --- a/etl/steps/data/garden/democracy/2024-03-07/polity.meta.yml +++ b/etl/steps/data/garden/democracy/2024-03-07/polity.meta.yml @@ -237,21 +237,21 @@ tables: variables: num_regime_polity: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries with unknown regime - <% else %> + <%- else -%> Number of << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> - <% endif %> + <%- endif -%> unit: "countries" num_group_age_dem_polity: title: |- - <% if 'years' in category %> + <%- if 'years' in category -%> Number of electoral democracies aged << category >> - <% elif category == '-1' %> + <%- elif category == '-1' -%> Number of countries with unknown regime (age groups) - <% else %> + <%- else -%> Number of << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> (age groups) - <% endif %> + <%- endif -%> unit: "countries" @@ -259,21 +259,21 @@ tables: variables: pop_regime_polity: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of people living in countries with unknown regime - <% else %> + <%- else -%> Number of people living in << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> - <% endif %> + <%- endif -%> unit: "people" pop_group_age_dem_polity: title: |- - <% if 'years' in category %> + <%- if 'years' in category -%> Number of of people living in electoral democracies aged << category >> - <% elif category == '-1' %> + <%- elif category == '-1' -%> Number of of people living in countries with unknown regime (age groups) - <% else %> + <%- else -%> Number of of people living in << category.replace('_', ' ').replace('cracy', 'cracies').replace('archy', 'archies') >> (age groups) - <% endif %> + <%- endif -%> unit: "people" avg_pop: diff --git a/etl/steps/data/garden/democracy/2024-03-07/vdem/vdem.meta.yml b/etl/steps/data/garden/democracy/2024-03-07/vdem/vdem.meta.yml index 590b39d643b..c71a3c747ac 100644 --- a/etl/steps/data/garden/democracy/2024-03-07/vdem/vdem.meta.yml +++ b/etl/steps/data/garden/democracy/2024-03-07/vdem/vdem.meta.yml @@ -302,11 +302,11 @@ tables: vdem_multi_with_regions: common: description_processing: |- - <% if aggregate_method == 'average' %> + <%- if aggregate_method == 'average' -%> The regional aggregates (including values for the World) have been estimated by averaging the country values. - <% elif aggregate_method < 'population-weighted average' %> + <%- elif aggregate_method < 'population-weighted average' -%> The regional aggregates (including values for World) have been estimated by averaging the country values weighed by popupalation. $\alpha$. The population values are from the UN WPP 2022 revision dataset. - <% endif %> + <%- endif -%> display: numDecimalPlaces: 2 presentation: &common_ppt @@ -1538,65 +1538,65 @@ tables: variables: num_countries_regime: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries with unknown regime - <% else %> + <%- else -%> Number of << category.replace('cracy', 'cracies') >> - <% endif %> + <%- endif -%> num_countries_regime_amb: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries with unknown (ambiguous) regime - <% else %> + <%- else -%> Number of << category.replace('cracy', 'cracies') >> (ambiguous) - <% endif %> + <%- endif -%> num_countries_hoe: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries in which chief executive's gender is unknown - <% else %> + <%- else -%> Number of countries in which chief executive is a << category.lower() >> - <% endif %> + <%- endif -%> num_countries_hog: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries in which head of government's gender is unknown - <% else %> + <%- else -%> Number of countries in which head of government is a << category.lower() >> - <% endif %> + <%- endif -%> num_countries_hos: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries in which head of state's gender is unknown - <% else %> + <%- else -%> Number of countries in which head of state is a << category.lower() >> - <% endif %> + <%- endif -%> num_countries_wom_parl: title: | - <% if category == '-1' %> + <%- if category == '-1' -%> Number of countries with an unknown number of women in parliament - <% elif category == '0% women' %> + <%- elif category == '0% women' -%> Number of countries with no women in parliament - <% else %> + <%- else -%> Number of countries with << category >> in parliament - <% endif %> + <%- endif -%> unit: "countries" num_countries_years_in_electdem: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of electoral democracies with an unknown age - <% else %> + <%- else -%> Number of electoral democracies aged << category >> - <% endif %> + <%- endif -%> num_countries_years_in_libdem: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> Number of liberal democracies with an unknown age - <% else %> + <%- else -%> Number of liberal democracies aged << category >> - <% endif %> + <%- endif -%> ################################################################################################## ################################################################################################## @@ -1607,63 +1607,63 @@ tables: variables: population_regime: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> People living in countries without regime data - <% else %> + <%- else -%> People living in << category.replace('cracy', 'cracies') >> - <% endif %> + <%- endif -%> population_regime_amb: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> People living in countries without regime (ambiguous) data - <% else %> + <%- else -%> People living in << category.replace('cracy', 'cracies') >> (ambiguous) - <% endif %> + <%- endif -%> population_hoe: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> People living in countries in which chief executive's gender is unknown - <% else %> + <%- else -%> People living in countries in which chief executive is a << category.lower() >> - <% endif %> + <%- endif -%> population_hog: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> People living in countries in which head of government's gender is unknown - <% else %> + <%- else -%> People living in countries in which head of government is a << category.lower() >> - <% endif %> + <%- endif -%> population_hos: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> People living in countries in which head of state's gender is unknown - <% else %> + <%- else -%> People living in countries in which head of state is a << category.lower() >> - <% endif %> + <%- endif -%> population_wom_parl: title: | - <% if category == '-1' %> + <%- if category == '-1' -%> People living in countries with an unknown number of women in parliament - <% elif category == '0% women' %> + <%- elif category == '0% women' -%> People living in countries with no women in parliament - <% else %> + <%- else -%> People living in countries with << category >> in parliament - <% endif %> + <%- endif -%> unit: "countries" population_years_in_electdem: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> People living in electoral democracies with an unknown age - <% else %> + <%- else -%> People living in electoral democracies aged << category >> - <% endif %> + <%- endif -%> population_years_in_libdem: title: |- - <% if category == '-1' %> + <%- if category == '-1' -%> People living in liberal democracies with an unknown age - <% else %> + <%- else -%> People living in liberal democracies aged << category >> - <% endif %> + <%- endif -%> diff --git a/etl/steps/data/garden/demography/2023-09-27/survivor_percentiles.meta.yml b/etl/steps/data/garden/demography/2023-09-27/survivor_percentiles.meta.yml index ce428ac5bb8..ceb0cac41aa 100644 --- a/etl/steps/data/garden/demography/2023-09-27/survivor_percentiles.meta.yml +++ b/etl/steps/data/garden/demography/2023-09-27/survivor_percentiles.meta.yml @@ -22,11 +22,11 @@ tables: unit: years processing_level: major description_short: |- - <% if percentile == 1 %> + <%- if percentile == 1 -%> The age until which the 1st percentile (99% of the population) of the population would survive until, if they experienced the same age-specific death rates throughout their whole lives as the age-specific death rates seen in that particular year. - <% else %> + <%- else -%> The age until which the << percentile>>th percentile (<< 100 - percentile|int>>% of the population) of the population would survive until, if they experienced the same age-specific death rates throughout their whole lives as the age-specific death rates seen in that particular year. - <% endif %> + <%- endif -%> description_processing: |- This was calculated with the method published in Alvarez and Vaupel (2023), with code provided by the authors: diff --git a/etl/steps/data/garden/demography/2023-10-03/life_tables.meta.yml b/etl/steps/data/garden/demography/2023-10-03/life_tables.meta.yml index e00d14eaf7d..21a42f9babb 100644 --- a/etl/steps/data/garden/demography/2023-10-03/life_tables.meta.yml +++ b/etl/steps/data/garden/demography/2023-10-03/life_tables.meta.yml @@ -14,25 +14,25 @@ definitions: global: life_expectancy: point_1: |- - <% if type == "period" %> + <%- if type == "period" -%> Period life expectancy is a metric that summarizes death rates across all age groups in one particular year. - <% else %> + <%- else -%> Cohort life expectancy is the average lifespan of a group of people, usually a birth cohort – people born in the same year. - <% endif %> + <%- endif -%> point_2: |- - <% if type == "period" %> - <% if age == '0' %> + <%- if type == "period" -%> + <%- if age == '0' -%> For a given year, it represents the average lifespan for a hypothetical group of people, if they experienced the same age-specific death rates throughout their whole lives as the age-specific death rates seen in that particular year. - <% else %> + <%- else -%> For a given year, it represents the remaining average lifespan for a hypothetical group of people, if they experienced the same age-specific death rates throughout the rest of their lives as the age-specific death rates seen in that particular year. - <% endif %> - <% else %> - <% if age == '0' %> + <%- endif -%> + <%- else -%> + <%- if age == '0' -%> It is calculated by tracking individuals from that cohort throughout their lives until death, and calculating their average lifespan. - <% else %> + <%- else -%> It is calculated by tracking individuals from that cohort throughout the rest of their lives until death, and calculating their average remaining lifespan. - <% endif %> - <% endif %> + <%- endif -%> + <%- endif -%> data_used: |- Prior to 1950, we use HMD (2023) data. From 1950 onwards, we use UN WPP (2022) data. @@ -84,11 +84,11 @@ tables: title: Central death rate ratio (m/f) unit: "" description_short: |- - <% if type == "cohort" %> + <%- if type == "cohort" -%> The ratio of cohort central death rate (males/females) at a given age. - <% elif type == "period" %> + <%- elif type == "period" -%> The ratio of period central death rate (males/females) at a given age. - <% endif %> + <%- endif -%> processing_level: major display: name: |- @@ -158,32 +158,32 @@ tables: short_unit: years unit: years description_short: |- - <% if age == '0' %> - <% if sex == 'both' %> + <%- if age == '0' -%> + <%- if sex == 'both' -%> The << type >> life expectancy at birth, in a given year. - <% else %> + <%- else -%> The << type >> life expectancy at birth among << sex + 's' >>, in a given year. - <% endif %> - <% else %> - <% if sex == 'both' %> + <%- endif -%> + <%- else -%> + <%- if sex == 'both' -%> The remaining << type >> life expectancy at age << age >>, in a given year. - <% else %> + <%- else -%> The remaining << type >> life expectancy at age << age >> among << sex + 's' >>, in a given year. - <% endif %> - <% endif %> + <%- endif -%> + <%- endif -%> description_key: - |- {definitions.global.life_expectancy.point_1} - |- {definitions.global.life_expectancy.point_2} - |- - <% if age != '0' %> - <% if type == "period" %> + <%- if age != '0' -%> + <%- if type == "period" -%> This shows the remaining life expectancy among people who have already reached the age << age >>, using death rates from their age group and older age groups. - <% else %> + <%- else -%> This shows the remaining cohort life expectancy of people who have reached the age << age >>. - <% endif %> - <% endif %> + <%- endif -%> + <%- endif -%> - |- {definitions.global.data_used} display: diff --git a/etl/steps/data/garden/demography/2023-10-09/life_expectancy.meta.yml b/etl/steps/data/garden/demography/2023-10-09/life_expectancy.meta.yml index ba39077e0fb..80ca27adf72 100644 --- a/etl/steps/data/garden/demography/2023-10-09/life_expectancy.meta.yml +++ b/etl/steps/data/garden/demography/2023-10-09/life_expectancy.meta.yml @@ -20,35 +20,35 @@ definitions: title_base: Period life expectancy title_public: Life expectancy data_used: |- - <% if (age == 0) and (sex == 'all') %> + <%- if (age == 0) and (sex == 'all') -%> Prior to 1950, we use HMD (2023) data combined with Zijdeman (2015). From 1950 onwards, we use UN WPP (2022) data. For old regional data, we use Riley (2005) estimates. - <% else %> + <%- else -%> Prior to 1950, we use HMD (2023) data. From 1950 onwards, we use UN WPP (2022) data. - <% endif %> + <%- endif -%> point_1: |- Period life expectancy is a metric that summarizes death rates across all age groups in one particular year. point_2: |- - <% if age == '0' %> + <%- if age == '0' -%> For a given year, it represents the average lifespan for a hypothetical group of people, if they experienced the same age-specific death rates throughout their whole lives as the age-specific death rates seen in that particular year. - <% else %> + <%- else -%> For a given year, it represents the remaining average lifespan for a hypothetical group of people, if they experienced the same age-specific death rates throughout the rest of their lives as the age-specific death rates seen in that particular year. - <% endif %> + <%- endif -%> common: description_short: |- - <% if age == 0 %> - <% if sex == 'all' %> - The period life expectancy at birth, in a given year. - <% else %> - The period life expectancy at birth among << sex + 's' >>, in a given year. - <% endif %> - <% else %> - <% if sex == 'all' %> - The total period life expectancy at age << age >>, in a given year. - <% else %> - The total period life expectancy at age << age >> among << sex + 's' >>, in a given year. - <% endif %> - <% endif %> + <%- if age == 0 -%> + <%- if sex == 'all' -%> + The period life expectancy at birth, in a given year. + <%- else -%> + The period life expectancy at birth among << sex + 's' >>, in a given year. + <%- endif -%> + <%- else -%> + <%- if sex == 'all' -%> + The total period life expectancy at age << age >>, in a given year. + <%- else -%> + The total period life expectancy at age << age >> among << sex + 's' >>, in a given year. + <%- endif -%> + <%- endif -%> description_key: - |- {definitions.global.point_1} diff --git a/etl/steps/data/garden/demography/2023-10-20/broken_limits_le.meta.yml b/etl/steps/data/garden/demography/2023-10-20/broken_limits_le.meta.yml index bc7f5ab46ff..b8511924d1d 100644 --- a/etl/steps/data/garden/demography/2023-10-20/broken_limits_le.meta.yml +++ b/etl/steps/data/garden/demography/2023-10-20/broken_limits_le.meta.yml @@ -22,16 +22,16 @@ tables: title: &le_name Maximum life expectancy unit: years description_short: |- - <% if (sex == 'female') %> + <%- if (sex == 'female') -%> Maximum life expectancy recorded in a given year (among females). - <% elif (sex == 'male') %> + <%- elif (sex == 'male') -%> Maximum life expectancy recorded in a given year (among males). - <% elif (sex == 'all') %> + <%- elif (sex == 'all') -%> Maximum life expectancy recorded in a given year. - <% endif %> + <%- endif -%> description_key: - Period life expectancy is a metric that summarizes death rates across all age groups in one particular year. For a given year, it represents the average lifespan for a hypothetical group of people, if they experienced the same age-specific death rates throughout their lives as the age-specific death rates seen in that particular year. - - Records are only shown for countries in the Human Mortality Database. Prior to 1950, we use HMD (2023) data. From 1950 onwards, we use UN WPP (2022) data. + - Records are only shown for countries in the Human Mortality Database. Prior to 1950, we use HMD (2023) data. From 1950 onwards, we use UN WPP (2022) data. display: name: *le_name presentation: @@ -47,5 +47,5 @@ tables: title: Country with yearly maximum life expectancy unit: "" description_short: |- - Name of the country with the yearly maximum life expectancy registered<% if (sex == 'female') %> among females<% elif (sex == 'male') %> among males<% endif %>. + Name of the country with the yearly maximum life expectancy registered<%- if (sex == 'female') %> among females<% elif (sex == 'male') %> among males<% endif -%>. description_processing: This indicator is meant to be used as an auxiliary indicator. diff --git a/etl/steps/data/garden/health/2024-06-11/isaps_plastic_surgery.meta.yml b/etl/steps/data/garden/health/2024-06-11/isaps_plastic_surgery.meta.yml index 9ed5e595ff6..c35d8f133d0 100644 --- a/etl/steps/data/garden/health/2024-06-11/isaps_plastic_surgery.meta.yml +++ b/etl/steps/data/garden/health/2024-06-11/isaps_plastic_surgery.meta.yml @@ -18,15 +18,15 @@ tables: variables: num_procedures: title: |- - <% if (category_1 == 'all') %> + <%- if (category_1 == 'all') -%> Number of aesthetic procedures (surgical and non-surgical) - <% elif (category_1 != 'all') and (category_2 == 'all') %> + <%- elif (category_1 != 'all') and (category_2 == 'all') -%> Number of aesthetic << category_1 >> procedures - <% elif (category_1 != 'all') and (category_2 != 'all') and (procedure_name == 'all') %> + <%- elif (category_1 != 'all') and (category_2 != 'all') and (procedure_name == 'all') -%> Number of aesthetic << category_1 >> procedures, << category_2 >> - <% else %> + <%- else -%> Number of aesthetic << category_1 >> procedures, << category_2 >>, << procedure_name.title() >> - <% endif %> + <%- endif -%> description_short: |- Number of cosmetic procedures performed in a given year. unit: procedures diff --git a/etl/steps/data/garden/health/2024-09-05/seattle_pathogens.meta.yml b/etl/steps/data/garden/health/2024-09-05/seattle_pathogens.meta.yml index 37b6fdaec56..aa2b52a5e9f 100644 --- a/etl/steps/data/garden/health/2024-09-05/seattle_pathogens.meta.yml +++ b/etl/steps/data/garden/health/2024-09-05/seattle_pathogens.meta.yml @@ -2,11 +2,11 @@ definitions: others: group_notes: |- - <% if organism == 'RSV' %> + <%- if organism == 'RSV' -%> This includes RSV A and RSV B. - <% elif organism == 'Influenza A' %> + <%- elif organism == 'Influenza A' -%> This includes Influenza A H1N1 and H3N2. - <% endif %> + <%- endif -%> common: presentation: topic_tags: diff --git a/etl/steps/data/garden/hmd/2023-09-19/hmd.meta.yml b/etl/steps/data/garden/hmd/2023-09-19/hmd.meta.yml index 8416f7248d1..c14b8ed7f0a 100644 --- a/etl/steps/data/garden/hmd/2023-09-19/hmd.meta.yml +++ b/etl/steps/data/garden/hmd/2023-09-19/hmd.meta.yml @@ -15,25 +15,25 @@ definitions: global: life_expectancy: point_1: |- - <% if type == "period" %> + <%- if type == "period" -%> Period life expectancy is a metric that summarizes death rates across all age groups in one particular year. - <% else %> + <%- else -%> Cohort life expectancy is the average lifespan of a group of people, usually a birth cohort – people born in the same year. - <% endif %> + <%- endif -%> point_2: |- - <% if type == "period" %> - <% if age == '0' %> + <%- if type == "period" -%> + <%- if age == '0' -%> For a given year, it represents the average lifespan for a hypothetical group of people, if they experienced the same age-specific death rates throughout their whole lives as the age-specific death rates seen in that particular year. - <% else %> + <%- else -%> For a given year, it represents the remaining average lifespan for a hypothetical group of people, if they experienced the same age-specific death rates throughout the rest of their lives as the age-specific death rates seen in that particular year. - <% endif %> - <% else %> - <% if age == '0' %> + <%- endif -%> + <%- else -%> + <%- if age == '0' -%> It is calculated by tracking individuals from that cohort throughout their lives until death, and calculating their average lifespan. - <% else %> + <%- else -%> It is calculated by tracking individuals from that cohort throughout the rest of their lives until death, and calculating their average remaining lifespan. - <% endif %> - <% endif %> + <%- endif -%> + <%- endif -%> # Learn more about the available fields: @@ -87,11 +87,11 @@ tables: title: Central death rate ratio (m/f) unit: "" description_short: |- - <% if type == "cohort" %> + <%- if type == "cohort" -%> The ratio of cohort central death rate (males/females) at a given age. - <% elif type == "period" %> + <%- elif type == "period" -%> The ratio of period central death rate (males/females) at a given age. - <% endif %> + <%- endif -%> processing_level: major display: name: |- @@ -191,32 +191,32 @@ tables: short_unit: years unit: years description_short: |- - <% if age == '0' %> - <% if sex == 'both' %> + <%- if age == '0' -%> + <%- if sex == 'both' -%> The << type >> life expectancy at birth, in a given year. - <% else %> + <%- else -%> The << type >> life expectancy at birth among << sex + 's' >>, in a given year. - <% endif %> - <% else %> - <% if sex == 'both' %> + <%- endif -%> + <%- else -%> + <%- if sex == 'both' -%> The remaining << type >> life expectancy at age << age >>, in a given year. - <% else %> + <%- else -%> The remaining << type >> life expectancy at age << age >> among << sex + 's' >>, in a given year. - <% endif %> - <% endif %> + <%- endif -%> + <%- endif -%> description_key: - |- {definitions.global.life_expectancy.point_1} - |- {definitions.global.life_expectancy.point_2} - |- - <% if age != '0' %> - <% if type == "period" %> + <%- if age != '0' -%> + <%- if type == "period" -%> This shows the remaining period life expectancy among people who have already reached the age << age >>, using death rates from their age group and older age groups. - <% else %> + <%- else -%> This shows the remaining cohort life expectancy of people who have reached the age << age >>. - <% endif %> - <% endif %> + <%- endif -%> + <%- endif -%> display: numDecimalPlaces: 1 name: |- diff --git a/etl/steps/data/garden/oecd/2023-10-11/life_expectancy_birth.meta.yml b/etl/steps/data/garden/oecd/2023-10-11/life_expectancy_birth.meta.yml index 7cf1b967472..a6f0b0a051c 100644 --- a/etl/steps/data/garden/oecd/2023-10-11/life_expectancy_birth.meta.yml +++ b/etl/steps/data/garden/oecd/2023-10-11/life_expectancy_birth.meta.yml @@ -23,11 +23,11 @@ tables: short_unit: years processing_level: minor description_short: |- - <% if sex == 'all' %> + <%- if sex == 'all' -%> The period life expectancy at birth, in a given year. - <% else %> + <%- else -%> The period life expectancy at birth among << sex + 's' >>, in a given year. - <% endif %> + <%- endif -%> description_key: - Period life expectancy is a metric that summarizes death rates across all age groups in one particular year. - For a given year, it represents the average lifespan for a hypothetical group of people, if they experienced the same age-specific death rates throughout their lives as the age-specific death rates seen in that particular year. diff --git a/etl/steps/data/garden/un/2022-07-11/un_wpp/un_wpp_grapher.meta.yml b/etl/steps/data/garden/un/2022-07-11/un_wpp/un_wpp_grapher.meta.yml index 459320bc840..d307c0b2f24 100644 --- a/etl/steps/data/garden/un/2022-07-11/un_wpp/un_wpp_grapher.meta.yml +++ b/etl/steps/data/garden/un/2022-07-11/un_wpp/un_wpp_grapher.meta.yml @@ -87,31 +87,31 @@ tables: unit: years short_unit: years description_short: |- - <% if age == 'at birth' %> - <% if sex == 'all' %> + <%- if age == 'at birth' -%> + <%- if sex == 'all' -%> The period life expectancy at birth, in a given year. - <% else %> + <%- else -%> The period life expectancy at birth among << sex + 's' >>, in a given year. - <% endif %> - <% else %> - <% if sex == 'all' %> + <%- endif -%> + <%- else -%> + <%- if sex == 'all' -%> The total period life expectancy at age << age >>, in a given year. - <% else %> + <%- else -%> The total period life expectancy at age << age >> among << sex + 's' >>, in a given year. - <% endif %> - <% endif %> + <%- endif -%> + <%- endif -%> description_key: - Period life expectancy is a metric that summarizes death rates across all age groups in one particular year. - |- - <% if (age == 'at birth') %> + <%- if (age == 'at birth') -%> For a given year, it represents the average lifespan for a hypothetical group of people, if they experienced the same age-specific death rates throughout their lives as the age-specific death rates seen in that particular year. - <% else %> + <%- else -%> For a given year, it represents the average lifespan for a hypothetical group of people, if they experienced the same age-specific death rates throughout the rest of their lives as the age-specific death rates seen in that particular year. - <% endif %> + <%- endif -%> - |- - <% if (age != 'at birth') %> + <%- if (age != 'at birth') -%> This shows the total life expectancy among people who have already reached the age << age >> (including the number of years they have already lived), using death rates from their age group and older age groups. - <% endif %> + <%- endif -%> display: numDecimalPlaces: 1 name: |- diff --git a/etl/steps/data/garden/un/2023-10-02/un_wpp_lt.meta.yml b/etl/steps/data/garden/un/2023-10-02/un_wpp_lt.meta.yml index 88cc46f5da3..95bf5614f65 100644 --- a/etl/steps/data/garden/un/2023-10-02/un_wpp_lt.meta.yml +++ b/etl/steps/data/garden/un/2023-10-02/un_wpp_lt.meta.yml @@ -2,17 +2,17 @@ definitions: life_expectancy: description_short: |- - <% if type == "period" %> + <%- if type == "period" -%> Period life expectancy is the average number of years a person is expected to live, based on mortality rates seen across all age groups in a given interval. - <% elif type == "cohort" %> + <%- elif type == "cohort" -%> Cohort life expectancy is the average number of years that individuals born in a given interval actually lived, based on tracking that birth cohort over time. - <% endif %> + <%- endif -%> point_1: |- - <% if type == "period" %> + <%- if type == "period" -%> This is based on a synthetic cohort created using mortality rates across age groups in a given year. - <% elif type == "cohort" %> + <%- elif type == "cohort" -%> Rather than waiting for the entire cohort to have died before calculating the cohort life expectancy, researchers may use data from birth cohorts that are 'almost extinct'. - <% endif %> + <%- endif -%> # Learn more about the available fields: @@ -92,15 +92,15 @@ tables: short_unit: years unit: years description_short: |- - <% if type == "period" %> + <%- if type == "period" -%> The average number of years a person is expected to live, based on mortality rates seen across all age groups in a given interval. - <% elif type == "cohort" %> + <%- elif type == "cohort" -%> The average number of years that individuals born in a given interval actually lived, based on tracking that birth cohort over time. - <% endif %> + <%- endif -%> description_key: - |- - <% if type == "period" %> + <%- if type == "period" -%> Life expectancy at age 0 refers to life expectancy at birth. - <% else %> + <%- else -%> It refers to the remaining life expectancy for people who have already survived to the given age. - <% endif %> + <%- endif -%> diff --git a/etl/steps/data/garden/un/2024-07-11/un_wpp.meta.yml b/etl/steps/data/garden/un/2024-07-11/un_wpp.meta.yml index 93bb86ff4fe..8097420beb4 100644 --- a/etl/steps/data/garden/un/2024-07-11/un_wpp.meta.yml +++ b/etl/steps/data/garden/un/2024-07-11/un_wpp.meta.yml @@ -1,53 +1,53 @@ definitions: global: projections: - <%- if variant != 'estimates' %> + <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. - <%- endif %> + <%- endif -%> dimensions: title: |- - <% if sex == 'all' and age == 'all' and variant == 'estimates' %> + <%- if sex == 'all' and age == 'all' and variant == 'estimates' -%> total - <% else %> - <%- if sex != 'all' %> - << sex >><%- if age != 'all' or variant != 'estimates' %>, <% endif %> - <%- endif %> - <%- if age == '0' %> - at birth<%- if variant != 'estimates' %>, <% endif %> - <%- elif age != 'all' %> - aged << age >><%- if variant != 'estimates' %>, <% endif %> - <%- endif %> - <%- if variant != 'estimates' %> + <%- else -%> + <%- if sex != 'all' -%> + << sex >><%- if age != 'all' or variant != 'estimates' -%>, <%- endif -%> + <%- endif -%> + <%- if age == '0' -%> + at birth<%- if variant != 'estimates' -%>, <%- endif -%> + <%- elif age != 'all' -%> + aged << age >><%- if variant != 'estimates' -%>, <%- endif -%> + <%- endif -%> + <%- if variant != 'estimates' -%> << variant >> projection - <%- endif %> - <% endif %> + <%- endif -%> + <%- endif -%> description_short: |- - <% if not (sex == 'all' and age == 'all') %> + <%- if not (sex == 'all' and age == 'all') -%> This only includes - <%- if sex != 'all' %> + <%- if sex != 'all' -%> << sex >>s - <%- elif sex != 'all' %> + <%- elif sex != 'all' -%> individuals - <%- endif %> - <%- if age == '0' %> + <%- endif -%> + <%- if age == '0' -%> at birth - <%- elif age != 'all' %> + <%- elif age != 'all' -%> aged << age >> - <%- endif %>. - <% endif %> + <%- endif -%>. + <%- endif -%> {definitions.global.projections} description_short_births: |- - <% if not (sex == 'all' and age == 'all') %> + <%- if not (sex == 'all' and age == 'all') -%> This only includes - <%- if sex != 'all' %> - << sex >> babies<%- if variant != 'estimates' %>, and <% endif %> - <%- endif %> - <%- if age != 'all' %> + <%- if sex != 'all' -%> + << sex >> babies<%- if variant != 'estimates' -%>, and <%- endif -%> + <%- endif -%> + <%- if age != 'all' -%> mothers aged << age >> - <%- endif %>. - <% endif %> + <%- endif -%>. + <%- endif -%> {definitions.global.projections} @@ -153,17 +153,17 @@ tables: fertility_rate: title: Fertility rate unit: |- - <% if age == 'all' %> + <%- if age == 'all' -%> live births per woman - <% else %> + <%- else -%> live births per 1,000 mothers aged << age >> - <% endif %> + <%- endif -%> description_short: |- - <% if age == 'all' %> + <%- if age == 'all' -%> The average number of live births a hypothetical cohort of women would have at the end of their reproductive period if they were subject during their whole lives to the fertility rates of a given period and if they were not subject to mortality. {definitions.global.dimensions.description_short} - <% else %> + <%- else -%> The annual number of live births from mothers aged << age >> years. {definitions.global.dimensions.description_short} - <% endif %> + <%- endif -%> description_key: - |- It is expressed as live births per woman. For age-specific fertility rates, it measures the number of births to women in a particular age group, divided by the number of women in that age group. The age groups used are: 15-19, 20-24, ..., 45-49. The data refer to annual civil calendar years from 1 January to 31 December. @@ -172,9 +172,9 @@ tables: Fertility rate, {definitions.global.dimensions.title} grapher_config: note: |- - <% if age == 'all' %> + <%- if age == 'all' -%> The total fertility rate is the number of children that would be born to a woman if she were to live to the end of her child-bearing years and give birth to children at the current age-specific fertility rates. - <% endif %> + <%- endif -%> migration: variables: @@ -188,11 +188,11 @@ tables: Net migration, {definitions.global.dimensions.title} grapher_config: subtitle: |- - <% if sex == "all" %> + <%- if sex == "all" -%> The total number of immigrants (people moving into a given country) minus the number of emigrants (people moving out of the country). - <% else %> + <%- else -%> The total number of << sex >> immigrants (people moving into a given country) minus the number of << sex >> emigrants (people moving out of the country). - <% endif %> {definitions.global.projections} + <%- endif -%> {definitions.global.projections} net_migration_rate: title: Net migration rate @@ -287,17 +287,17 @@ tables: unit: years short_unit: years description_short: |- - <% if sex == 'all' %> + <%- if sex == 'all' -%> <% set individuals='individuals' %> - <% else %> + <%- else -%> <% set individuals=sex+' individuals' %> - <% endif %> + <%- endif -%> - <% if age == 0 %> + <%- if age == 0 -%> Period life expectancy for << individuals >> at birth. - <% else %> + <%- else -%> Period life expectancy for << individuals >> who have reached age << age >>. Estimates are expressed as the expected age at death, not as years left to live. - <% endif %> {definitions.global.projections} + <%- endif -%> {definitions.global.projections} presentation: title_public: |- Life Expectancy, {definitions.global.dimensions.title} @@ -306,16 +306,16 @@ tables: {tables.life_expectancy.variables.life_expectancy.description_short} note: |- - <% if sex == 'all' %> + <%- if sex == 'all' -%> <% set sex_name='' %> - <% else %> + <%- else -%> <% set sex_name=' for ' + sex+'s' %> - <% endif %> + <%- endif -%> <%- if age == 0 -%> Shown is the 'period life expectancy'<< sex_name >> at birth<< sex_name >>. This is the average number of years a newborn would live if age-specific mortality rates in the current year were to stay the same throughout its life. - <% else %> + <%- else -%> Shown is the 'period life expectancy'<< sex_name >> at age << age >>. This is the expected age at death, if age-specific mortality rates in the current year were to stay the same throughout its life. - <%- endif %> + <%- endif -%> sex_ratio: variables: @@ -323,101 +323,101 @@ tables: title: Sex ratio unit: "males per 100 females" description_short: |- - <% if age == '0' %> + <%- if age == '0' -%> The number of male births per 100 female births. Biological birth ratios are slightly male-biased, with an expected ratio of 105 male births per 100 female births. - <% elif age == 'all' %> + <%- elif age == 'all' -%> ​​The number of male population per 100 female population. - <% else %> + <%- else -%> The number of male individuals per 100 female individuals, at age << age >>. - <% endif %> {definitions.global.projections} + <%- endif -%> {definitions.global.projections} presentation: title_public: |- Sex ratio, {definitions.global.dimensions.title} grapher_config: subtitle: |- - <% if age == 'all' %> + <%- if age == 'all' -%> ​​The number of male population per 100 female population. - <% elif age == '0' %> + <%- elif age == '0' -%> The number of male births per 100 female births. Biological birth ratios are slightly male biased, with an expected ratio of 105 male births per 100 female births. - <% else %> + <%- else -%> The number of male individuals per 100 female individuals, at age << age >>. - <% endif %> {definitions.global.projections} + <%- endif -%> {definitions.global.projections} dependency_ratio: variables: dependency_ratio: title: |- - <% if age == "total" %> + <%- if age == "total" -%> Total dependency ratio - Sex: << sex >> - Variant: << variant >> - <% elif age == "youth" %> + <%- elif age == "youth" -%> Child dependency ratio - Sex: << sex >> - Variant: << variant >> - <% else %> + <%- else -%> Old-age dependency ratio - Sex: << sex >> - Variant: << variant >> - <% endif %> + <%- endif -%> unit: "%" description_short: |- - <% if sex != "all" %> - <% set individuals = 'population'%> - <% else %> - <% set individuals = sex + ' population'%> - <% endif %> - <% if age == "total" %> + <%- if sex != "all" -%> + <% set individuals = 'population' %> + <%- else -%> + <% set individuals = sex + ' population' %> + <%- endif -%> + <%- if age == "total" -%> The ratio of the young << individuals >> (under age 15) and elderly << individuals >> (aged 65 and over) to the working-age population (aged 15 to 64). - <% elif age == "youth" %> + <%- elif age == "youth" -%> The ratio of the young << individuals >> (under age 15) to the working-age << individuals >> (aged 15 to 64). - <% else %> + <%- else -%> The ratio of the elderly << individuals >> (aged 65 and over) to the working-age << individuals >> (aged 15 to 64). - <% endif %> + <%- endif -%> presentation: title_public: |- - <% if age == "total" -%> + <%- if age == "total" -%> Total dependency ratio - <% elif age == "youth" -%> + <%- elif age == "youth" -%> Youth dependency ratio - <% else -%> + <%- else -%> Old-age dependency ratio - <% endif -%>, {definitions.global.dimensions.title} + <%- endif -%>, {definitions.global.dimensions.title} mortality_rate: variables: mortality_rate: title: |- - <% if age == '0' %> + <%- if age == '0' -%> Infant mortality rate - Sex: << sex >> - Variant: << variant >> - <% else %> + <%- else -%> Child mortality rate - Sex: << sex >> - Variant: << variant >> - <% endif %> + <%- endif -%> unit: |- - <% if age == '0' %> + <%- if age == '0' -%> % of infants - <% else %> + <%- else -%> % of children - <% endif %> + <%- endif -%> description_short: |- - <% if age == '0' %> + <%- if age == '0' -%> The share of newborns who die before reaching the age of one. - <% else %> + <%- else -%> The share of children who die before reaching the age of 5. - <% endif %> {definitions.global.projections} + <%- endif -%> {definitions.global.projections} presentation: title_public: |- - <% if age == '0' %> + <%- if age == '0' -%> Infant mortality rate - <% else %> + <%- else -%> Child mortality rate - <% endif %>, {definitions.global.dimensions.title} + <%- endif -%>, {definitions.global.dimensions.title} grapher_config: subtitle: |- - The share of <% if sex != 'all' %><< sex >><% endif %> - <% if age == '0' %> + The share of <%- if sex != 'all' -%><< sex >><%- endif -%> + <%- if age == '0' -%> children who die before reaching the age of one. - <% else %> + <%- else -%> newborns who die before reaching the age of 5. <%- endif -%> {definitions.global.projections} note: |- - <% if age == '0' %> + <%- if age == '0' -%> This is the probability of a child born in a specific year or period dying before reaching the age of one, if subject to age-specific mortality rates of that period. This is given as the share of live births. - <% else %> + <%- else -%> This is the probability of a child born in a specific year or period dying before reaching the age of 5, if subject to age-specific mortality rates of that period. This is given as the share of live births. <%- endif -%> {definitions.global.projections} diff --git a/etl/steps/data/garden/un/2024-07-12/un_wpp.meta.yml b/etl/steps/data/garden/un/2024-07-12/un_wpp.meta.yml index 28bed255432..0300e8bf523 100644 --- a/etl/steps/data/garden/un/2024-07-12/un_wpp.meta.yml +++ b/etl/steps/data/garden/un/2024-07-12/un_wpp.meta.yml @@ -1,57 +1,57 @@ definitions: global: projections: - <%- if variant != 'estimates' %> + <%- if variant != 'estimates' -%> Projections from 2024 onwards are based on the UN's << variant >> scenario. - <%- endif %> + <%- endif -%> dimensions: title: |- - <% if sex == 'all' and age == 'all' and variant == 'estimates' %> + <%-if sex == 'all' and age == 'all' and variant == 'estimates' -%> total - <% else %> - <%- if sex != 'all' %> - << sex >><%- if age != 'all' or variant != 'estimates' %>, <% endif %> - <%- endif %> - <%- if age == '0' %> - at birth<%- if variant != 'estimates' %>, <% endif %> - <%- elif '-' in age|string or '+' in age|string %> - ages << age >><%- if variant != 'estimates' %>, <% endif %> - <%- elif age != 'all' %> - age << age >><%- if variant != 'estimates' %>, <% endif %> - <%- endif %> - <%- if variant != 'estimates' %> + <%-else -%> + <%- if sex != 'all' -%> + << sex >><%- if age != 'all' or variant != 'estimates' -%>, <%-endif -%> + <%- endif -%> + <%- if age == '0' -%> + at birth<%- if variant != 'estimates' -%>, <%-endif -%> + <%- elif '-' in age|string or '+' in age|string -%> + ages << age >><%- if variant != 'estimates' -%>, <%-endif -%> + <%- elif age != 'all' -%> + age << age >><%- if variant != 'estimates' -%>, <%-endif -%> + <%- endif -%> + <%- if variant != 'estimates' -%> << variant >> projection - <%- endif %> - <% endif %> + <%- endif -%> + <%-endif -%> description_short: |- - <% if not (sex == 'all' and age == 'all') %> + <%-if not (sex == 'all' and age == 'all') -%> This only includes - <%- if sex != 'all' %> + <%- if sex != 'all' -%> << sex >>s - <%- elif sex != 'all' %> + <%- elif sex != 'all' -%> individuals - <%- endif %> - <%- if age == '0' %> + <%- endif -%> + <%- if age == '0' -%> at birth - <%- elif '-' in age|string or '+' in age|string %> + <%- elif '-' in age|string or '+' in age|string -%> ages << age >> - <%- elif age != 'all' %> + <%- elif age != 'all' -%> age << age >> - <%- endif %>. - <% endif %> + <%- endif -%>. + <%-endif -%> {definitions.global.projections} description_short_births: |- - <% if not (sex == 'all' and age == 'all') %> + <%-if not (sex == 'all' and age == 'all') -%> This only includes - <%- if sex != 'all' %> - << sex >> babies<%- if variant != 'estimates' %>, and <% endif %> - <%- endif %> - <%- if age != 'all' %> + <%- if sex != 'all' -%> + << sex >> babies<%- if variant != 'estimates' -%>, and <%-endif -%> + <%- endif -%> + <%- if age != 'all' -%> mothers aged << age >> - <%- endif %>. - <% endif %> + <%- endif -%>. + <%-endif -%> {definitions.global.projections} @@ -157,17 +157,17 @@ tables: fertility_rate: title: Fertility rate unit: |- - <% if age == 'all' %> + <%-if age == 'all' -%> live births per woman - <% else %> + <%-else -%> live births per 1,000 mothers aged << age >> - <% endif %> + <%-endif -%> description_short: |- - <% if age == 'all' %> + <%-if age == 'all' -%> The average number of live births a hypothetical cohort of women would have at the end of their reproductive period if they were subject during their whole lives to the fertility rates of a given period and if they were not subject to mortality. {definitions.global.dimensions.description_short} - <% else %> + <%-else -%> The annual number of live births from mothers aged << age >> years. {definitions.global.dimensions.description_short} - <% endif %> + <%-endif -%> description_key: - |- It is expressed as live births per woman. For age-specific fertility rates, it measures the number of births to women in a particular age group, divided by the number of women in that age group. The age groups used are: 15-19, 20-24, ..., 45-49. The data refer to annual civil calendar years from 1 January to 31 December. @@ -176,9 +176,9 @@ tables: Fertility rate, {definitions.global.dimensions.title} grapher_config: note: |- - <% if age == 'all' %> + <%-if age == 'all' -%> The total fertility rate is the number of children that would be born to a woman if she were to live to the end of her child-bearing years and give birth to children at the current age-specific fertility rates. - <% endif %> + <%-endif -%> migration: variables: @@ -192,11 +192,11 @@ tables: Net migration, {definitions.global.dimensions.title} grapher_config: subtitle: |- - <% if sex == "all" %> + <%-if sex == "all" -%> The total number of immigrants (people moving into a given country) minus the number of emigrants (people moving out of the country). - <% else %> + <%-else -%> The total number of << sex >> immigrants (people moving into a given country) minus the number of << sex >> emigrants (people moving out of the country). - <% endif %> {definitions.global.projections} + <%-endif -%> {definitions.global.projections} net_migration_rate: title: Net migration rate @@ -291,17 +291,17 @@ tables: unit: years short_unit: years description_short: |- - <% if sex == 'all' %> - <% set individuals='individuals' %> - <% else %> - <% set individuals=sex+' individuals' %> - <% endif %> + <%-if sex == 'all' -%> + <%-set individuals='individuals' -%> + <%-else -%> + <%-set individuals=sex+' individuals' -%> + <%-endif -%> - <% if age == '0' %> + <%-if age == '0' -%> Period life expectancy for << individuals >> at birth. - <% else %> + <%-else -%> Period life expectancy for << individuals >> who have reached age << age >>. Estimates are expressed as the expected age at death, not as years left to live. - <% endif %> {definitions.global.projections} + <%-endif -%> {definitions.global.projections} presentation: title_public: |- Life Expectancy, {definitions.global.dimensions.title} @@ -310,16 +310,16 @@ tables: {tables.life_expectancy.variables.life_expectancy.description_short} note: |- - <% if sex == 'all' %> - <% set sex_name='' %> - <% else %> - <% set sex_name=' for ' + sex+'s' %> - <% endif %> + <%-if sex == 'all' -%> + <%-set sex_name='' -%> + <%-else -%> + <%-set sex_name=' for ' + sex+'s' -%> + <%-endif -%> <%- if age == '0' -%> Shown is the 'period life expectancy'<< sex_name >> at birth<< sex_name >>. This is the average number of years a newborn would live if age-specific mortality rates in the current year were to stay the same throughout its life. - <% else %> + <%-else -%> Shown is the 'period life expectancy'<< sex_name >> at age << age >>. This is the expected age at death, if age-specific mortality rates in the current year were to stay the same throughout its life. - <%- endif %> + <%- endif -%> sex_ratio: variables: @@ -327,101 +327,101 @@ tables: title: Sex ratio unit: "males per 100 females" description_short: |- - <% if age == '0' %> + <%-if age == '0' -%> The number of male births per 100 female births. Biological birth ratios are slightly male-biased, with an expected ratio of 105 male births per 100 female births. - <% elif age == 'all' %> + <%-elif age == 'all' -%> ​​The number of male population per 100 female population. - <% else %> + <%-else -%> The number of male individuals per 100 female individuals, at age << age >>. - <% endif %> {definitions.global.projections} + <%-endif -%> {definitions.global.projections} presentation: title_public: |- Sex ratio, {definitions.global.dimensions.title} grapher_config: subtitle: |- - <% if age == 'all' %> + <%-if age == 'all' -%> ​​The number of male population per 100 female population. - <% elif age == '0' %> + <%-elif age == '0' -%> The number of male births per 100 female births. Biological birth ratios are slightly male biased, with an expected ratio of 105 male births per 100 female births. - <% else %> + <%-else -%> The number of male individuals per 100 female individuals, at age << age >>. - <% endif %> {definitions.global.projections} + <%-endif -%> {definitions.global.projections} dependency_ratio: variables: dependency_ratio: title: |- - <% if age == "total" %> + <%-if age == "total" -%> Total dependency ratio - Sex: << sex >> - Variant: << variant >> - <% elif age == "youth" %> + <%-elif age == "youth" -%> Child dependency ratio - Sex: << sex >> - Variant: << variant >> - <% else %> + <%-else -%> Old-age dependency ratio - Sex: << sex >> - Variant: << variant >> - <% endif %> + <%-endif -%> unit: "%" description_short: |- - <% if sex != "all" %> - <% set individuals = 'population'%> - <% else %> - <% set individuals = sex + ' population'%> - <% endif %> - <% if age == "total" %> + <%-if sex != "all" -%> + <%-set individuals = 'population'%> + <%-else -%> + <%-set individuals = sex + ' population'%> + <%-endif -%> + <%-if age == "total" -%> The ratio of the young << individuals >> (under age 15) and elderly << individuals >> (ages 65 and over) to the working-age population (ages 15 to 64). - <% elif age == "youth" %> + <%-elif age == "youth" -%> The ratio of the young << individuals >> (under age 15) to the working-age << individuals >> (ages 15 to 64). - <% else %> + <%-else -%> The ratio of the elderly << individuals >> (ages 65 and over) to the working-age << individuals >> (ages 15 to 64). - <% endif %> + <%-endif -%> presentation: title_public: |- - <% if age == "total" -%> + <%-if age == "total" -%> Total dependency ratio - <% elif age == "youth" -%> + <%-elif age == "youth" -%> Youth dependency ratio - <% else -%> + <%-else -%> Old-age dependency ratio - <% endif -%>, {definitions.global.dimensions.title} + <%-endif -%>, {definitions.global.dimensions.title} mortality_rate: variables: mortality_rate: title: |- - <% if age == '0' %> + <%-if age == '0' -%> Infant mortality rate - Sex: << sex >> - Variant: << variant >> - <% else %> + <%-else -%> Child mortality rate - Sex: << sex >> - Variant: << variant >> - <% endif %> + <%-endif -%> unit: |- - <% if age == '0' %> + <%-if age == '0' -%> % of infants - <% else %> + <%-else -%> % of children - <% endif %> + <%-endif -%> description_short: |- - <% if age == '0' %> + <%-if age == '0' -%> The share of newborns who die before reaching the age of one. - <% else %> + <%-else -%> The share of children who die before reaching the age of 5. - <% endif %> {definitions.global.projections} + <%-endif -%> {definitions.global.projections} presentation: title_public: |- - <% if age == '0' %> + <%-if age == '0' -%> Infant mortality rate - <% else %> + <%-else -%> Child mortality rate - <% endif %>, {definitions.global.dimensions.title} + <%-endif -%>, {definitions.global.dimensions.title} grapher_config: subtitle: |- - The share of <% if sex != 'all' %><< sex >><% endif %> - <% if age == '0' %> + The share of <%-if sex != 'all' -%><< sex >><%-endif -%> + <%-if age == '0' -%> children who die before reaching the age of one. - <% else %> + <%-else -%> newborns who die before reaching the age of 5. <%- endif -%> {definitions.global.projections} note: |- - <% if age == '0' %> + <%-if age == '0' -%> This is the probability of a child born in a specific year or period dying before reaching the age of one, if subject to age-specific mortality rates of that period. This is given as the share of live births. - <% else %> + <%-else -%> This is the probability of a child born in a specific year or period dying before reaching the age of 5, if subject to age-specific mortality rates of that period. This is given as the share of live births. <%- endif -%> {definitions.global.projections} diff --git a/etl/steps/data/garden/war/2023-06-22/ucdp.meta.yml b/etl/steps/data/garden/war/2023-06-22/ucdp.meta.yml index 02d2124a643..7404d9d81b1 100644 --- a/etl/steps/data/garden/war/2023-06-22/ucdp.meta.yml +++ b/etl/steps/data/garden/war/2023-06-22/ucdp.meta.yml @@ -3,92 +3,92 @@ definitions: Deaths of combatants and civilians due to fighting are included. conflict_type: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> An ongoing armed conflict is a disagreement between organized groups, or between one organized group and civilians, that causes at least 25 deaths during a year. - <% elif conflict_type == "interstate" %> + <%- elif conflict_type == "interstate" -%> An interstate conflict is a conflict between states that causes at least 25 deaths during a year. - <% elif conflict_type == "intrastate" %> + <%- elif conflict_type == "intrastate" -%> An intrastate conflict is a conflict between a state and a non-state armed group that causes at least 25 deaths during a year. - <% elif conflict_type == "intrastate (internationalized)" %> + <%- elif conflict_type == "intrastate (internationalized)" -%> An internationalized intrastate conflict is a conflict between a state and a non-state armed group, with involvement of a foreign state, that causes at least 25 deaths during a year. - <% elif conflict_type == "intrastate (non-internationalized)" %> + <%- elif conflict_type == "intrastate (non-internationalized)" -%> A non-internationalized intrastate conflict is a conflict between a state and a non-state armed group, without involvement of a foreign state, that causes at least 25 deaths during a year. - <% elif conflict_type == "non-state conflict" %> + <%- elif conflict_type == "non-state conflict" -%> A non-state conflict is a conflict between non-state armed groups that causes at least 25 deaths during a year. - <% elif conflict_type == "one-sided violence" %> + <%- elif conflict_type == "one-sided violence" -%> One-sided violence is the use of armed force by a state or non-state armed group against civilians that causes at least 25 deaths during a year. - <% endif %> + <%- endif -%> conflict_type_estimate: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The << estimate >> estimate of the number of deaths in all ongoing armed conflicts in each year. This includes interstate, intrastate, extrasystemic, and non-state conflicts, as well as one-sided violence. - <% elif conflict_type == "interstate" %> + <%- elif conflict_type == "interstate" -%> The << estimate >> estimate of the number of deaths in ongoing interstate conflicts in each year. - <% elif conflict_type == "intrastate" %> + <%- elif conflict_type == "intrastate" -%> The << estimate >> estimate of the number of deaths in ongoing intrastate conflicts in each year. - <% elif conflict_type == "intrastate (internationalized)" %> + <%- elif conflict_type == "intrastate (internationalized)" -%> The << estimate >> estimate of the number of deaths in ongoing internationalized intrastate conflicts in each year. - <% elif conflict_type == "intrastate (non-internationalized)" %> + <%- elif conflict_type == "intrastate (non-internationalized)" -%> The << estimate >> estimate of the number of deaths in ongoing non-internationalized intrastate conflicts in each year. - <% elif conflict_type == "non-state conflict" %> + <%- elif conflict_type == "non-state conflict" -%> The << estimate >> estimate of the number of deaths in ongoing non-state conflicts in each year. - <% elif conflict_type == "one-sided violence" %> + <%- elif conflict_type == "one-sided violence" -%> The << estimate >> estimate of the number of deaths in conflicts of one-sided violence in each year. - <% endif %> + <%- endif -%> ongoing_conflicts: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The number of all ongoing armed conflicts in each year. This includes interstate, intrastate, extrasystemic, and non-state conflicts, as well as one-sided violence. - <% elif conflict_type == "interstate" %> + <%- elif conflict_type == "interstate" -%> The number of ongoing interstate conflicts in each year. - <% elif conflict_type == "intrastate" %> + <%- elif conflict_type == "intrastate" -%> The number of ongoing intrastate conflicts in each year. - <% elif conflict_type == "intrastate (internationalized)" %> + <%- elif conflict_type == "intrastate (internationalized)" -%> The number of ongoing internationalized intrastate conflicts in each year. - <% elif conflict_type == "intrastate (non-internationalized)" %> + <%- elif conflict_type == "intrastate (non-internationalized)" -%> The number of ongoing non-internationalized intrastate conflicts in each year. - <% elif conflict_type == "extrasystemic" %> + <%- elif conflict_type == "extrasystemic" -%> The number of ongoing extrasystemic conflicts in each year. - <% elif conflict_type == "non-state conflict" %> + <%- elif conflict_type == "non-state conflict" -%> The number of non-state conflicts in each year. - <% elif conflict_type == "one-sided violence" %> + <%- elif conflict_type == "one-sided violence" -%> The number of conflicts of one-sided violence in each year. - <% endif %> + <%- endif -%> new_conflicts: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The number of new armed conflicts in each year. This includes interstate, intrastate, extrasystemic, and non-state conflicts, as well as one-sided violence. A new armed conflict is a disagreement between organized groups, or between one organized group and civilians, that causes at least 25 deaths during a year for the first time. - <% elif conflict_type == "interstate" %> + <%- elif conflict_type == "interstate" -%> The number of new interstate conflicts in each year. A new interstate conflict is a conflict between states that causes at least 25 deaths during a year for the first time. - <% elif conflict_type == "intrastate" %> + <%- elif conflict_type == "intrastate" -%> The number of new intrastate conflicts in each year. A new intrastate conflict is a conflict between a state and a non-state armed group that causes at least 25 deaths during a year for the first time. - <% elif conflict_type == "intrastate (internationalized)" %> + <%- elif conflict_type == "intrastate (internationalized)" -%> The number of new internationalized intrastate conflicts in each year. A new internationalized intrastate conflict is a conflict between a state and a non-state armed group, with involvement of a foreign state, that causes at least 25 deaths during a year for the first time. We also only count an internationalized intrastate conflict as new when the conflict overall started that year, not if it became internationalized. - <% elif conflict_type == "intrastate (non-internationalized)" %> + <%- elif conflict_type == "intrastate (non-internationalized)" -%> The number of new non-internationalized intrastate conflicts in each year. A new non-internationalized intrastate conflict is a conflict between a state and a non-state armed group, without involvement of a foreign state, that causes at least 25 deaths during a year for the first time. We also only count a non-internationalized intrastate conflict as new when the conflict overall started that year, not if it stopped being internationalized. - <% elif conflict_type == "extrasystemic" %> + <%- elif conflict_type == "extrasystemic" -%> The number of new extrasystemic conflicts in each year. A new extrasystemic conflict is a conflict between a state and a non-state armed group outside its territory that causes at least 25 deaths during a year for the first time. - <% elif conflict_type == "non-state conflict" %> + <%- elif conflict_type == "non-state conflict" -%> The number of new non-state conflicts in each year. A new non-state conflict is a conflict between non-state armed groups that causes at least 25 deaths during a year for the first time. - <% elif conflict_type == "one-sided violence" %> + <%- elif conflict_type == "one-sided violence" -%> The number of new conflicts of one-sided violence in each year. New one-sided violence is the use of armed force by a state or non-state armed group against civilians that causes at least 25 deaths during a year for the first time. - <% endif %> + <%- endif -%> dataset: diff --git a/etl/steps/data/garden/war/2023-07-07/mars.meta.yml b/etl/steps/data/garden/war/2023-07-07/mars.meta.yml index f00a86fb809..2e053c3c524 100644 --- a/etl/steps/data/garden/war/2023-07-07/mars.meta.yml +++ b/etl/steps/data/garden/war/2023-07-07/mars.meta.yml @@ -1,6 +1,6 @@ definitions: number_deaths_ongoing_conflicts: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The << estimate >> estimate of the number of deaths in all ongoing conventional wars in each year. An ongoing conventional war is a conflict between combatants with differentiated militaries and clear frontlines that causes at least 500 deaths over its duration. @@ -8,7 +8,7 @@ definitions: Deaths of combatants due to fighting are included. If a war lasted more than one year, we distributed its deaths evenly across years. If a war was ongoing in more than one world region, we distributed its deaths evenly across regions. - <% elif conflict_type == "others (non-civil)" %> + <%- elif conflict_type == "others (non-civil)" -%> The << estimate >> estimate of the number of deaths in ongoing conventional interstate wars in each year. An ongoing conventional interstate war is a conflict between combatants that are part of different political authorities, that involves differentiated militaries and clear frontlines, and that causes at least 500 deaths over its duration. @@ -20,7 +20,7 @@ definitions: Deaths of combatants due to fighting are included. If a war lasted more than one year, we distributed its deaths evenly across years. If a war was ongoing in more than one world region, we distributed its deaths across the regions of the participants. - <% elif conflict_type == "civil war" %> + <%- elif conflict_type == "civil war" -%> The << estimate >> estimate of the number of deaths in ongoing conventional civil wars in each year. An ongoing conventional civil war is a conflict between combatants that were previously part of the same political authority, where now at least one seeks control or secession, that involves differentiated militaries and clear frontlines, and that causes at least 500 deaths over its duration. @@ -30,7 +30,7 @@ definitions: Deaths of combatants due to fighting are included. If a war lasted more than one year, we distributed its deaths evenly across years. - <% endif %> + <%- endif -%> dataset: @@ -98,11 +98,11 @@ tables: title: Number of ongoing conflicts unit: conflicts description: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The number of ongoing conventional wars in each year. An ongoing conventional war is a conflict between combatants with differentiated militaries and clear frontlines that causes at least 500 deaths over its duration. - <% elif conflict_type == "others (non-civil)" %> + <%- elif conflict_type == "others (non-civil)" -%> The number of ongoing conventional interstate wars in each year. An ongoing conventional interstate war is a conflict between combatants that are part of different political authorities, that involves differentiated militaries and clear frontlines, and that causes at least 500 deaths over its duration. @@ -110,13 +110,13 @@ tables: We identify conventional interstate wars as those wars that are not coded civil wars by Project Mars. For the two wars that had campaigns within it that were a civil war and an interstate war, we coded them as interstate wars. - <% elif conflict_type == "civil war" %> + <%- elif conflict_type == "civil war" -%> The number of ongoing conventional civil wars in each year. An ongoing conventional civil war is a conflict between combatants that were previously part of the same political authority, where now at least one seeks control or secession, that involves differentiated militaries and clear frontlines, and that causes at least 500 deaths over its duration. For the two wars that had campaigns within it that were a civil war and an interstate war, we coded them as interstate wars. - <% endif %> + <%- endif -%> We count a war as ongoing in a region even if the war is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing wars. display: @@ -135,13 +135,13 @@ tables: title: Number of new conflicts unit: conflicts description: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The number of new conventional wars in each year. A conventional war is a conflict between combatants with differentiated militaries and clear frontlines that causes at least 500 deaths over its duration. We consider it new in its start year. We only count a war as new when the war overall started that year, not if it restarted or a new campaign within it begins. - <% elif conflict_type == "others (non-civil)" %> + <%- elif conflict_type == "others (non-civil)" -%> The number of new conventional interstate wars in each year. A conventional interstate war is a conflict between combatants that are part of different political authorities, that involves differentiated militaries and clear frontlines, and that causes at least 500 deaths over its duration. We consider it new in its start year. @@ -149,13 +149,13 @@ tables: We identify conventional interstate wars as those wars that are not coded civil wars by Project Mars. We only count an interstate war as new when the war overall started that year, not if a civil war became internationalized. - <% elif conflict_type == "civil war" %> + <%- elif conflict_type == "civil war" -%> The number of ongoing conventional civil wars in each year. A conventional civil war is a conflict between combatants that were previously part of the same political authority, where now at least one seeks control or secession, that involves differentiated militaries and clear frontlines, and that causes at least 500 deaths over its duration. We consider it new in its start year. We only count a civil war as new when the war overall started that year, not if it became a civil war. - <% endif %> + <%- endif -%> We count a war as new in a region even if the war started earlier or at the same time in another region. The sum across all regions can therefore be higher than the total number of new wars. diff --git a/etl/steps/data/garden/war/2023-07-18/cow.meta.yml b/etl/steps/data/garden/war/2023-07-18/cow.meta.yml index 6c4cba9d6da..1582c6b62b9 100644 --- a/etl/steps/data/garden/war/2023-07-18/cow.meta.yml +++ b/etl/steps/data/garden/war/2023-07-18/cow.meta.yml @@ -31,7 +31,7 @@ tables: title: Number of battle-related deaths in ongoing conflicts unit: deaths description: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The estimated number of deaths in all ongoing wars in each year. This includes interstate, intrastate, extrastate, and non-state wars. An ongoing interstate war is a conflict between states that causes at least 1,000 deaths during a year. @@ -41,7 +41,7 @@ tables: If a war lasted more than one year, we distributed its deaths evenly across years. If a war was ongoing in more than one world region, we distributed its deaths across the regions of the participants. For wars without any deaths estimate, we conservatively coded Correlates of War's lower bound for including a war, 1,000 deaths each year. - <% elif conflict_type == "inter-state" %> + <%- elif conflict_type == "inter-state" -%> The estimated number of deaths in ongoing interstate wars in each year. An ongoing interstate war is a conflict between states that causes at least 1,000 deaths during a year. @@ -53,7 +53,7 @@ tables: For wars without any deaths estimate, we conservatively coded Correlates of War's lower bound for including a war, 1,000 deaths each year. We extend the time-series to 2010, by drawing on Correlates of War's Directed Dyadic Interstate War Dataset (version 4.01), which identifies no wars for the years since 2003. - <% elif conflict_type == "intra-state" %> + <%- elif conflict_type == "intra-state" -%> The estimated number of deaths in ongoing intrastate wars in each year. An ongoing intrastate war is a conflict between a state and a non-state armed group or between non-state armed groups that causes at least 1,000 deaths during a year. @@ -63,7 +63,7 @@ tables: If a war lasted more than one year, we distributed its deaths evenly across years. For wars without any deaths estimate, we conservatively coded Correlates of War's lower bound for including a war, 1,000 deaths each year. - <% elif conflict_type == "intra-state (internationalized)" %> + <%- elif conflict_type == "intra-state (internationalized)" -%> The estimated number of deaths in ongoing internationalized intrastate wars in each year. An ongoing internationalized intrastate war is a conflict between a state and a non-state armed group or between non-state armed groups, with involvement of a foreign state, that causes at least 1,000 deaths during a year. @@ -73,7 +73,7 @@ tables: If a war lasted more than one year, we distributed its deaths evenly across years. For wars without any deaths estimate, we conservatively coded Correlates of War's lower bound for including a war, 1,000 deaths each year. - <% elif conflict_type == "intra-state (non-internationalized)" %> + <%- elif conflict_type == "intra-state (non-internationalized)" -%> The estimated number of deaths in ongoing non-internationalized intrastate wars in each year. An ongoing non-internationalized intrastate war is a conflict between a state and a non-state armed group or between non-state armed groups, without involvement of a foreign state, that causes at least 1,000 deaths during a year. @@ -83,7 +83,7 @@ tables: If a war lasted more than one year, we distributed its deaths evenly across years. For wars without any deaths estimate, we conservatively coded Correlates of War's lower bound for including a war, 1,000 deaths each year. - <% elif conflict_type == "extra-state" %> + <%- elif conflict_type == "extra-state" -%> The estimated number of deaths in ongoing extrastate wars in each year. An ongoing extrastate war is a conflict between a state and a non-state region it seeks to control, or between a state and a colony that seeks policy change or independence, and that causes at least 1,000 deaths during a year. @@ -93,7 +93,7 @@ tables: If a war lasted more than one year, we distributed its deaths evenly across years. For wars without any deaths estimate, we conservatively coded Correlates of War's lower bound for including a war, 1,000 deaths each year. - <% elif conflict_type == "non-state" %> + <%- elif conflict_type == "non-state" -%> The estimated number of deaths in ongoing non-state wars in each year. An ongoing non-state war is a conflict between non-state armed groups within a region without a state or across state broders, that causes at least 1,000 deaths during a year. @@ -103,7 +103,7 @@ tables: If a war lasted more than one year, we distributed its deaths evenly across years. For wars without any deaths estimate, we conservatively coded Correlates of War's lower bound for including a war, 1,000 deaths each year. - <% endif %> + <%- endif -%> display: numDecimalPlaces: 0 @@ -121,7 +121,7 @@ tables: title: Number of ongoing conflicts unit: conflicts description: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The number of all ongoing wars in each year. This includes interstate, intrastate, extrastate, and non-state wars. An ongoing war is a conflict between organized armed groups that causes at least 1,000 deaths during a year. @@ -130,7 +130,7 @@ tables: We extend the time-series to 2007, by drawing on Correlates of War's Directed Dyadic Interstate War Dataset (version 4.01), which identifies no interstate wars for the years since 2003. - <% elif conflict_type == "inter-state" %> + <%- elif conflict_type == "inter-state" -%> The number of ongoing interstate wars in each year. An ongoing interstate war is a conflict between states that causes at least 1,000 deaths during a year. @@ -138,37 +138,37 @@ tables: We count a war as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing wars. We extend the time-series to 2010, by drawing on Correlates of War's Directed Dyadic Interstate War Dataset (version 4.01), which identifies no wars for the years since 2003. - <% elif conflict_type == "intra-state" %> + <%- elif conflict_type == "intra-state" -%> The number of ongoing intrastate wars in each year. An ongoing intrastate war is a conflict between a state and a non-state armed group or between non-state armed groups that causes at least 1,000 deaths during a year. We count a war as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing wars. - <% elif conflict_type == "intra-state (internationalized)" %> + <%- elif conflict_type == "intra-state (internationalized)" -%> The number of ongoing internationalized intrastate wars in each year. An ongoing internationalized intrastate war is a conflict between a state and a non-state armed group or between non-state armed groups, with involvement of a foreign state, that causes at least 1,000 deaths during a year. We count a war as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing wars. - <% elif conflict_type == "intra-state (non-internationalized)" %> + <%- elif conflict_type == "intra-state (non-internationalized)" -%> The number of ongoing non-internationalized intrastate wars in each year. An ongoing non-internationalized intrastate war is a conflict between a state and a non-state armed group or between non-state armed groups, without involvement of a foreign state, that causes at least 1,000 deaths during a year. We count a war as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing wars. - <% elif conflict_type == "extra-state" %> + <%- elif conflict_type == "extra-state" -%> The number of ongoing extrastate wars in each year. An ongoing extrastate war is a conflict between a state and a non-state region it seeks to control, or between a state and a colony that seeks policy change or independence, and that causes at least 1,000 deaths during a year. We count a war as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing wars. - <% elif conflict_type == "non-state" %> + <%- elif conflict_type == "non-state" -%> The number of ongoing non-state wars in each year. An ongoing non-state war is a conflict between non-state armed groups within a region without a state or across state broders, that causes at least 1,000 deaths during a year. We count a war as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing wars. - <% endif %> + <%- endif -%> display: numDecimalPlaces: 0 @@ -185,7 +185,7 @@ tables: title: Number of new conflicts unit: conflicts description: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The number of new wars in each year. This includes interstate, intrastate, extrastate, and non-state wars. A new war is a conflict between organized armed groups that causes at least 1,000 deaths during a year for the first time. @@ -195,7 +195,7 @@ tables: We count a war as new in a region even if the war started at the same time in another region. The sum across all regions can therefore be higher than the total number of new wars. We extend the time-series to 2007, by drawing on Correlates of War's Directed Dyadic Interstate War Dataset (version 4.01), which identifies no interstate wars for the years since 2003. - <% elif conflict_type == "inter-state" %> + <%- elif conflict_type == "inter-state" -%> The number of new interstate wars in each year. A new interstate war is a conflict between states that causes at least 1,000 deaths during a year for the first time. @@ -205,7 +205,7 @@ tables: We count a war as new in a region even if the war started at the same time in another region. The sum across all regions can therefore be higher than the total number of new wars. We extend the time-series to 2010, by drawing on Correlates of War's Directed Dyadic Interstate War Dataset (version 4.01), which identifies no wars for the years since 2003. - <% elif conflict_type == "intra-state" %> + <%- elif conflict_type == "intra-state" -%> The number of new intrastate wars in each year. A new intrastate war is a conflict between a state and a non-state armed group or between non-state armed groups that causes at least 1,000 deaths during a year for the first time. @@ -213,7 +213,7 @@ tables: We only count a war as new when the war overall started that year, not if it restarted. We count a war as new in a region even if the war started at the same time in another region. The sum across all regions can therefore be higher than the total number of new wars. - <% elif conflict_type == "intra-state (internationalized)" %> + <%- elif conflict_type == "intra-state (internationalized)" -%> The number of new internationalized intrastate wars in each year. A new internationalized intrastate war is a conflict between a state and a non-state armed group or between non-state armed groups, with involvement of a foreign state, that causes at least 1,000 deaths during a year for the first time. @@ -221,7 +221,7 @@ tables: We only count a war as new when the war overall started that year, not if it restarted. We also only count an internationalized intrastate war as new when the war overall started that year, not if it became internationalized. We count a war as new in a region even if the war started at the same time in another region. The sum across all regions can therefore be higher than the total number of new wars. - <% elif conflict_type == "intra-state (non-internationalized)" %> + <%- elif conflict_type == "intra-state (non-internationalized)" -%> The number of new non-internationalized intrastate wars in each year. A new non-internationalized intrastate war is a conflict between a state and a non-state armed group or between non-state armed groups, without involvement of a foreign state, that causes at least 1,000 deaths during a year for the first time. @@ -229,7 +229,7 @@ tables: We only count a war as new when the war overall started that year, not if it restarted. We also only count a non-internationalized intrastate war as new when the war overall started that year, not if it stopped being internationalized. We count a war as new in a region even if the war started at the same time in another region. The sum across all regions can therefore be higher than the total number of new wars. - <% elif conflict_type == "extra-state" %> + <%- elif conflict_type == "extra-state" -%> The number of new extrastate wars in each year. A new extrastate war is a conflict between a state and a non-state region it seeks to control, or between a state and a colony that seeks policy change or independence, and that causes at least 1,000 deaths during a year for the first time. @@ -237,7 +237,7 @@ tables: We only count a war as new when the war overall started that year, not if it restarted. We count a war as new in a region even if the war started at the same time in another region. The sum across all regions can therefore be higher than the total number of new wars. - <% elif conflict_type == "non-state" %> + <%- elif conflict_type == "non-state" -%> The number of new non-state wars in each year. A new non-state war is a conflict between non-state armed groups within a region without a state or across state broders, that causes at least 1,000 deaths during a year for the first time. @@ -245,7 +245,7 @@ tables: We only count a war as new when the war overall started that year, not if it restarted. We count a war as new in a region even if the war started at the same time in another region. The sum across all regions can therefore be higher than the total number of new wars. - <% endif %> + <%- endif -%> display: numDecimalPlaces: 0 diff --git a/etl/steps/data/garden/war/2023-07-20/brecke.meta.yml b/etl/steps/data/garden/war/2023-07-20/brecke.meta.yml index 4174840642d..0250c67bb74 100644 --- a/etl/steps/data/garden/war/2023-07-20/brecke.meta.yml +++ b/etl/steps/data/garden/war/2023-07-20/brecke.meta.yml @@ -24,7 +24,7 @@ tables: title: Number of deaths in ongoing conflicts unit: deaths description: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The estimated number of deaths in all ongoing armed conflicts in each year. This includes interstate and internal conflicts. An ongoing armed conflict is a disagreement between organized groups, or between an organized group and civilians, that causes at least 32 deaths during a year. @@ -32,7 +32,7 @@ tables: Deaths of combatants and civilians due to fighting, disease, and starvation are included. For conflicts without any deaths estimate, we conservatively coded the Conflict Catalog's lower bound for including a conflict, 32 deaths each year. - <% elif conflict_type == "interstate" %> + <%- elif conflict_type == "interstate" -%> The estimated number of deaths in ongoing interstate conflicts in each year. An ongoing interstate conflict is a conflict between states that causes at least 32 deaths during a year. @@ -42,7 +42,7 @@ tables: Deaths of combatants and civilians due to fighting, disease, and starvation are included. For conflicts without any deaths estimate, we conservatively coded the Conflict Catalog's lower bound for including a conflict, 32 deaths each year. - <% elif conflict_type == "internal" %> + <%- elif conflict_type == "internal" -%> The estimated number of deaths in ongoing internal conflicts in each year. An ongoing internal conflict is a conflict between a state and a non-state armed groups, between non-state armed groups, or between an armed group and civilians, that causes at least 32 deaths during a year. @@ -52,7 +52,7 @@ tables: Deaths of combatants and civilians due to fighting, disease, and starvation are included. For conflicts without any deaths estimate, we conservatively coded the Conflict Catalog's lower bound for including a conflict, 32 deaths each year. - <% endif %> + <%- endif -%> display: numDecimalPlaces: 0 @@ -69,23 +69,23 @@ tables: title: Number of ongoing conflicts unit: conflicts description: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The number of all ongoing armed conflicts in each year. This includes interstate and internal conflicts. An ongoing armed conflict is a disagreement between organized groups, or between an organized group and civilians, that causes at least 32 deaths during a year. - <% elif conflict_type == "interstate" %> + <%- elif conflict_type == "interstate" -%> The number of ongoing interstate conflicts in each year. An ongoing interstate conflict is a conflict between states that causes at least 32 deaths during a year. We identify interstate conflicts in the Conflict Catalog using the approach by Seshat (while correcting any mistakes for the 200 deadliest conflicts): https://web.archive.org/web/20230606184656/https://seshatdatabank.info/cleaning-history-data-the-conflict-catalogue/ - <% elif conflict_type == "internal" %> + <%- elif conflict_type == "internal" -%> The number of ongoing internal conflicts in each year. An ongoing internal conflict is a conflict between a state and a non-state armed groups, between non-state armed groups, or between an armed group and civilians, that causes at least 32 deaths during a year. We identify interstate conflicts in the Conflict Catalog using the approach by Seshat (while correcting any mistakes for the 200 deadliest conflicts): https://web.archive.org/web/20230606184656/https://seshatdatabank.info/cleaning-history-data-the-conflict-catalogue/ - <% endif %> + <%- endif -%> We count a conflict as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing conflicts. display: @@ -102,13 +102,13 @@ tables: title: Number of new conflicts unit: conflicts description: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The number of all new armed conflicts in each year. This includes interstate and internal conflicts. An ongoing armed conflict is a disagreement between organized groups, or between an organized group and civilians, that causes at least 32 deaths during a year for the first time. We count a conflict as new in a region even if the conflict also starts in other regions. The sum across all regions can therefore be higher than the total number of new conflicts. - <% elif conflict_type == "interstate" %> + <%- elif conflict_type == "interstate" -%> The number of new interstate conflicts in each year. A new interstate conflict is a conflict between states that causes at least 32 deaths during a year for the first time. @@ -116,7 +116,7 @@ tables: We identify interstate conflicts in the Conflict Catalog using the approach by Seshat (while correcting any mistakes for the 200 deadliest conflicts): https://web.archive.org/web/20230606184656/https://seshatdatabank.info/cleaning-history-data-the-conflict-catalogue/ We count a conflict as new in a region even if the conflict started at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. - <% elif conflict_type == "internal" %> + <%- elif conflict_type == "internal" -%> The number of new internal conflicts in each year. A new internal conflict is a conflict between a state and a non-state armed groups, between non-state armed groups, or between an armed group and civilians, that causes at least 32 deaths during a year for the first time. @@ -124,7 +124,7 @@ tables: We identify interstate conflicts in the Conflict Catalog using the approach by Seshat (while correcting any mistakes for the 200 deadliest conflicts): https://web.archive.org/web/20230606184656/https://seshatdatabank.info/cleaning-history-data-the-conflict-catalogue/ We count a conflict as new in a region even if the conflict started at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. - <% endif %> + <%- endif -%> display: numDecimalPlaces: 0 presentation: diff --git a/etl/steps/data/garden/war/2023-07-21/prio_v31.meta.yml b/etl/steps/data/garden/war/2023-07-21/prio_v31.meta.yml index 78457607a02..639475e2dbc 100644 --- a/etl/steps/data/garden/war/2023-07-21/prio_v31.meta.yml +++ b/etl/steps/data/garden/war/2023-07-21/prio_v31.meta.yml @@ -24,37 +24,37 @@ dataset: definitions: number_deaths_estimate: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The << estimate >> estimate of the number of deaths in ongoing state-based conflicts in each year. This includes interstate, intrastate, and extrasystemic conflicts. A state-based conflict is a conflict between states, or between a state and a non-state armed group, that causes at least 25 deaths during a year. - <% elif conflict_type == "interstate" %> + <%- elif conflict_type == "interstate" -%> The << estimate >> estimate of the number of deaths in ongoing interstate conflicts in each year. An interstate conflict is a conflict between states that causes at least 25 deaths during a year. - <% elif conflict_type == "intrastate" %> + <%- elif conflict_type == "intrastate" -%> The << estimate >> estimate of the number of deaths in ongoing intrastate conflicts in each year. An intrastate conflict is a conflict between a state and a non-state armed group that causes at least 25 deaths during a year. - <% elif conflict_type == "intrastate (internationalized)" %> + <%- elif conflict_type == "intrastate (internationalized)" -%> The << estimate >> estimate of the number of deaths in ongoing internationalized intrastate conflicts in each year. An internationalized intrastate conflict is a conflict between a state and a non-state armed group, with involvement of a foreign state, that causes at least 25 deaths during a year. - <% elif conflict_type == "intrastate (non-internationalized)" %> + <%- elif conflict_type == "intrastate (non-internationalized)" -%> The << estimate >> estimate of the number of deaths in ongoing non-internationalized intrastate conflicts in each year. A non-internationalized intrastate conflict is a conflict between a state and a non-state armed group, without involvement of a foreign state, that causes at least 25 deaths during a year. - <% elif conflict_type == "extrasystemic" %> + <%- elif conflict_type == "extrasystemic" -%> The << estimate >> estimate of the number of deaths in ongoing extraystemic conflicts in each year. An extrasystemic conflict is a conflict between a state and a non-state armed group outside its territory that causes at least 25 deaths during a year. - <% endif %> + <%- endif -%> Deaths of combatants and civilians due to fighting are included. - <% if estimate == "best" %> + <%- if estimate == "best" -%> For conflict years without a best deaths estimate, we conservatively coded the low estimate. - <% endif %> + <%- endif -%> tables: prio_v31: @@ -112,31 +112,31 @@ tables: title: Number of ongoing conflicts unit: conflicts description: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The number of all ongoing state-based conflicts in each year. This includes interstate, intrastate, and extrasystemic conflicts. An ongoing state-based conflict is a conflict between states, or between a state and a non-state armed group, that causes at least 25 deaths during a year. - <% elif conflict_type == "interstate" %> + <%- elif conflict_type == "interstate" -%> The number of ongoing interstate conflicts in each year. An interstate conflict is a conflict between states that causes at least 25 deaths during a year. - <% elif conflict_type == "intrastate" %> + <%- elif conflict_type == "intrastate" -%> The number of ongoing intrastate conflicts in each year. An intrastate conflict is a conflict between a state and a non-state armed group that causes at least 25 deaths during a year. - <% elif conflict_type == "intrastate (internationalized)" %> + <%- elif conflict_type == "intrastate (internationalized)" -%> The number of ongoing internationalized intrastate conflicts in each year. An internationalized intrastate conflict is a conflict between a state and a non-state armed group, with involvement of a foreign state, that causes at least 25 deaths during a year. - <% elif conflict_type == "intrastate (non-internationalized)" %> + <%- elif conflict_type == "intrastate (non-internationalized)" -%> The number of ongoing non-internationalized intrastate conflicts in each year. A non-internationalized intrastate conflict is a conflict between a state and a non-state armed group, without involvement of a foreign state, that causes at least 25 deaths during a year. - <% elif conflict_type == "extrasystemic" %> + <%- elif conflict_type == "extrasystemic" -%> The number of ongoing extrasystemic conflicts in each year. An extrasystemic conflict is a conflict between a state and a non-state armed group outside its territory that causes at least 25 deaths during a year. - <% endif %> + <%- endif -%> We count a conflict as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing conflicts. @@ -154,43 +154,43 @@ tables: title: Number of new conflicts unit: conflicts description: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> The number of new state-based conflicts in each year. This includes interstate, intrastate, and extrasystemic conflicts. A new state-based conflict is a conflict between states, or between a state and a non-state armed group, that causes at least 25 deaths during a year for the first time. We only count a conflict as new when the conflict overall started that year, not if it became active again. - <% elif conflict_type == "interstate" %> + <%- elif conflict_type == "interstate" -%> The number of new interstate conflicts in each year. A new interstate conflict is a conflict between states that causes at least 25 deaths during a year for the first time. We only count a conflict as new when the conflict overall started that year, not if it became active again. - <% elif conflict_type == "intrastate" %> + <%- elif conflict_type == "intrastate" -%> The number of new intrastate conflicts in each year. A new intrastate conflict is a conflict between a state and a non-state armed group that causes at least 25 deaths during a year for the first time. We only count a conflict as new when the conflict overall started that year, not if it became active again. - <% elif conflict_type == "intrastate (internationalized)" %> + <%- elif conflict_type == "intrastate (internationalized)" -%> The number of new internationalized intrastate conflicts in each year. A new internationalized intrastate conflict is a conflict between a state and a non-state armed group, with involvement of a foreign state, that causes at least 25 deaths during a year for the first time. We only count a conflict as new when the conflict overall started that year, not if it became active again. We also only count an internationalized intrastate conflict as new when the conflict overall started that year, not if it became internationalized. - <% elif conflict_type == "intrastate (non-internationalized)" %> + <%- elif conflict_type == "intrastate (non-internationalized)" -%> The number of new non-internationalized intrastate conflicts in each year. A new non-internationalized intrastate conflict is a conflict between a state and a non-state armed group, without involvement of a foreign state, that causes at least 25 deaths during a year for the first time. We only count a conflict as new when the conflict overall started that year, not if it became active again. We also only count a non-internationalized intrastate conflict as new when the conflict overall started that year, not if it stopped being internationalized. - <% elif conflict_type == "extrasystemic" %> + <%- elif conflict_type == "extrasystemic" -%> The number of new extrasystemic conflicts in each year. A new extrasystemic conflict is a conflict between a state and a non-state armed group outside its territory that causes at least 25 deaths during a year for the first time. We only count a conflict as new when the conflict overall started that year, not if it became active again. - <% endif %> + <%- endif -%> We count a conflict as new in a region even if the conflict started earlier or at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. display: diff --git a/etl/steps/data/garden/war/2023-08-05/cow_mid.meta.yml b/etl/steps/data/garden/war/2023-08-05/cow_mid.meta.yml index dd34bfe06e8..a4f7146739b 100644 --- a/etl/steps/data/garden/war/2023-08-05/cow_mid.meta.yml +++ b/etl/steps/data/garden/war/2023-08-05/cow_mid.meta.yml @@ -27,23 +27,23 @@ dataset: definitions: fatalities: |- - <% if fatality == "No deaths" %> + <%- if fatality == "No deaths" -%> The number of ongoing interstate conflicts in each year in which ultimately no combatant dies. - <% elif fatality == "1-25 deaths" %> + <%- elif fatality == "1-25 deaths" -%> The number of ongoing interstate conflicts in each year in which ultimately 1-25 combatants dies. - <% elif fatality == "26-100 deaths" %> + <%- elif fatality == "26-100 deaths" -%> The number of ongoing interstate conflicts in each year in which ultimately 26-100 combatants dies. - <% elif fatality == "101-250 deaths" %> + <%- elif fatality == "101-250 deaths" -%> The number of ongoing interstate conflicts in each year in which ultimately 101-250 combatants dies. - <% elif fatality == "251-500 deaths" %> + <%- elif fatality == "251-500 deaths" -%> The number of ongoing interstate conflicts in each year in which ultimately 251-500 combatants dies. - <% elif fatality == "501-999 deaths" %> + <%- elif fatality == "501-999 deaths" -%> The number of ongoing interstate conflicts in each year in which ultimately 501-999 combatants dies. - <% elif fatality == "> 999 deaths" %> + <%- elif fatality == "> 999 deaths" -%> The number of ongoing interstate conflicts in each year in which ultimately at least 1,000 combatants dies. - <% elif fatality == "Unknown" %> + <%- elif fatality == "Unknown" -%> The number of ongoing interstate conflicts in each year for which there was no ultimate number of deaths given. - <% endif %> + <%- endif -%> tables: cow_mid: @@ -63,13 +63,13 @@ tables: unit: disputes description_short: The annual number of ongoing disputes description: |- - <% if hostility == "all" and fatality == "all" %> + <%- if hostility == "all" and fatality == "all" -%> The number of all ongoing interstate conflicts in each year. An interstate conflict is a disagreement between states where force is threatened, displayed, or used. We count a conflict as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing conflict. - <% elif hostility == "Threat to use force" %> + <%- elif hostility == "Threat to use force" -%> The number of interstate conflicts in each year where at most the use of force is threatened over the conflict's duration. An interstate conflict is a disagreement between states where force is threatened, displayed, or used. @@ -77,7 +77,7 @@ tables: We count a conflict as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing conflict. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility == "Display of force" %> + <%- elif hostility == "Display of force" -%> The number of interstate conflicts in each year where at most force is displayed over the conflict's duration. An interstate conflict is a disagreement between states where force is threatened, displayed, or used. @@ -85,7 +85,7 @@ tables: We count a conflict as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing conflict. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility == "Use of force" %> + <%- elif hostility == "Use of force" -%> The number of interstate conflicts in each year where force is used, but causes fewer than 1,000 combatant deaths due to fighting over the conflict's duration. An interstate conflict is a disagreement between states where force is threatened, displayed, or used. @@ -93,7 +93,7 @@ tables: We count a conflict as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing conflict. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility == "War" %> + <%- elif hostility == "War" -%> The number of interstate conflicts in each year where the use of force causes at least 1,000 combatant deaths due to fighting over the conflict's duration. An interstate conflict is a disagreement between states where force is threatened, displayed, or used. @@ -101,13 +101,13 @@ tables: We count a conflict as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing conflict. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility == "all" %> + <%- elif hostility == "all" -%> {definitions.fatalities} An ongoing interstate conflict is a disagreement between states where force is threatened, displayed, or used. Deaths of combatants due to fighting are included. - <% endif %> + <%- endif -%> processing_level: major display: numDecimalPlaces: 0 @@ -124,7 +124,7 @@ tables: unit: disputes description_short: The annual number of new disputes description: |- - <% if hostility == "all" %> + <%- if hostility == "all" -%> The number of all new interstate conflicts in each year. A new interstate conflict is a disagreement between states where force is threatened, displayed, or used for the first time. @@ -132,7 +132,7 @@ tables: We only count a conflict as new when the conflict overall started that year, not if it restarted or changed its hostility level (i.e. escalated or deescalated). We count a conflict as new in a region even if the conflict started at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. - <% elif hostility == "Threat to use force" %> + <%- elif hostility == "Threat to use force" -%> The number of new interstate conflicts in each year where at most the use of force is threatened over the conflict's duration. A new interstate conflict is a disagreement between states where force is threatened, displayed, or used for the first time. @@ -142,7 +142,7 @@ tables: We count a conflict as new in a region even if the conflict started at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility == "Display of force" %> + <%- elif hostility == "Display of force" -%> The number of new interstate conflicts in each year where at most force is displayed over the conflict's duration. A new interstate conflict is a disagreement between states where force is threatened, displayed, or used for the first time. @@ -152,7 +152,7 @@ tables: We count a conflict as new in a region even if the conflict started at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility == "Use of force" %> + <%- elif hostility == "Use of force" -%> The number of new interstate conflicts in each year where force is used, but causes fewer than 1,000 combatant deaths due to fighting over the conflict's duration. An interstate conflict is a disagreement between states where force is threatened, displayed, or used for the first time. @@ -162,7 +162,7 @@ tables: We count a conflict as new in a region even if the conflict started at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility == "War" %> + <%- elif hostility == "War" -%> The number of new interstate conflicts in each year where the use of force causes at least 1,000 combatant deaths due to fighting over the conflict's duration. A new interstate conflict is a disagreement between states where force is threatened, displayed, or used for the first time. @@ -172,7 +172,7 @@ tables: We count a conflict as new in a region even if the conflict started at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. The hostility level for a conflict overall is the highest level across all world regions. - <% endif %> + <%- endif -%> processing_level: major display: diff --git a/etl/steps/data/garden/war/2023-08-15/mie.meta.yml b/etl/steps/data/garden/war/2023-08-15/mie.meta.yml index bd6a57865dc..62f0fa93e97 100644 --- a/etl/steps/data/garden/war/2023-08-15/mie.meta.yml +++ b/etl/steps/data/garden/war/2023-08-15/mie.meta.yml @@ -31,13 +31,13 @@ tables: title: Number of ongoing conflicts unit: conflicts description: |- - <% if hostility_level == "all" %> + <%- if hostility_level == "all" -%> The number of all ongoing interstate conflicts in each year. An interstate conflict is a disagreement between states where force is threatened, displayed, or used. We count a conflict as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing conflicts. - <% elif hostility_level == "Threat to use force" %> + <%- elif hostility_level == "Threat to use force" -%> The number of interstate conflicts where at most the use of force is threatened in each year. An interstate conflict is a disagreement between states where force is threatened, displayed, or used. @@ -45,7 +45,7 @@ tables: We count a conflict as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing conflicts. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility_level == "Display of force" %> + <%- elif hostility_level == "Display of force" -%> The number of interstate conflicts where at most force is displayed in each year. An interstate conflict is a disagreement between states where force is threatened, displayed, or used. @@ -53,7 +53,7 @@ tables: We count a conflict as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing conflicts. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility_level == "Use of force" %> + <%- elif hostility_level == "Use of force" -%> The number of interstate conflicts where force is used, but causes fewer than 1,000 combatant deaths due to fighting, in each year. An interstate conflict is a disagreement between states where force is threatened, displayed, or used. @@ -61,7 +61,7 @@ tables: We count a conflict as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing conflicts. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility_level == "War" %> + <%- elif hostility_level == "War" -%> The number of interstate conflicts where the use of force causes at least 1,000 combatant deaths due to fighting during the year. An interstate conflict is a disagreement between states where force is threatened, displayed, or used. @@ -69,7 +69,7 @@ tables: We count a conflict as ongoing in a region even if the conflict is also ongoing in other regions. The sum across all regions can therefore be higher than the total number of ongoing conflicts. The hostility level for a conflict overall is the highest level across all world regions. - <% endif %> + <%- endif -%> processing_level: major display: numDecimalPlaces: 0 @@ -86,7 +86,7 @@ tables: title: Number of new conflicts unit: conflicts description: |- - <% if hostility_level == "all" %> + <%- if hostility_level == "all" -%> The number of all new interstate conflicts in each year. A new interstate conflict is a disagreement between states where force is threatened, displayed, or used for the first time. @@ -94,7 +94,7 @@ tables: We only count a conflict as new when the conflict overall started that year, not if it restarted or changed its hostility level (i.e. escalated or deescalated). We count a conflict as new in a region even if the conflict started earlier or at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. - <% elif hostility_level == "Threat to use force" %> + <%- elif hostility_level == "Threat to use force" -%> The number of new interstate conflicts where at most the use of force is threatened in each year. A new interstate conflict is a disagreement between states where force is threatened, displayed, or used for the first time. @@ -104,7 +104,7 @@ tables: We count a conflict as new in a region even if the conflict started earlier or at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility_level == "Display of force" %> + <%- elif hostility_level == "Display of force" -%> The number of new interstate conflicts where at most force is displayed in each year. A new interstate conflict is a disagreement between states where force is threatened, displayed, or used for the first time. @@ -114,7 +114,7 @@ tables: We count a conflict as new in a region even if the conflict started earlier or at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility_level == "Use of force" %> + <%- elif hostility_level == "Use of force" -%> The number of new interstate conflicts where force is used, but causes fewer at least 1,000 combatant deaths due to fighting, in each year. An interstate conflict is a disagreement between states where force is threatened, displayed, or used for the first time. @@ -124,7 +124,7 @@ tables: We count a conflict as new in a region even if the conflict started earlier or at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. The hostility level for a conflict overall is the highest level across all world regions. - <% elif hostility_level == "War" %> + <%- elif hostility_level == "War" -%> The number of new interstate conflicts where the use of force causes at least 1,000 combatant deaths due to fighting during the year. A new interstate conflict is a disagreement between states where force is threatened, displayed, or used for the first time. @@ -134,7 +134,7 @@ tables: We count a conflict as new in a region even if the conflict started earlier or at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. The hostility level for a conflict overall is the highest level across all world regions. - <% endif %> + <%- endif -%> processing_level: major display: diff --git a/etl/steps/data/garden/war/2023-09-21/brecke.meta.yml b/etl/steps/data/garden/war/2023-09-21/brecke.meta.yml index 1b9dbf4d774..c386e8d7420 100644 --- a/etl/steps/data/garden/war/2023-09-21/brecke.meta.yml +++ b/etl/steps/data/garden/war/2023-09-21/brecke.meta.yml @@ -17,20 +17,20 @@ definitions: all: conflict_type: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> Brecke seeks to include only political disagreements between organized groups, or between an organized group and civilians, that cause at least 32 deaths during a year. This definition tries to exclude interpersonal and criminal violence. - <% elif conflict_type == "interstate" %> + <%- elif conflict_type == "interstate" -%> An interstate conflict is a conflict between states that causes at least 32 deaths during a year. - <% elif conflict_type == "internal" %> + <%- elif conflict_type == "internal" -%> An internal conflict is a conflict between a state and a non-state armed groups, between non-state armed groups, or between an armed group and civilians, that causes at least 32 deaths during a year. - <% endif %> + <%- endif -%> interstate_conflicts: |- - <% if (conflict_type == "interstate" or conflict_type == "internal") %> + <%- if (conflict_type == "interstate" or conflict_type == "internal") -%> We identify interstate conflicts in the Conflict Catalog using the approach by Seshat (while correcting any mistakes for the 200 deadliest conflicts): https://web.archive.org/web/20230606184656/https://seshatdatabank.info/cleaning-history-data-the-conflict-catalogue/ - <% endif %> + <%- endif -%> number_deaths: description_short: |- @@ -76,11 +76,11 @@ definitions: - "{definitions.all.conflict_type}" - "{definitions.all.interstate_conflicts}" - |- - <% if (conflict_type == "interstate" or conflict_type == "internal") %> + <%- if (conflict_type == "interstate" or conflict_type == "internal") -%> We count a conflict as new in a region even if the conflict started at the same time in another region. The sum across all regions can therefore be higher than the total number of new conflicts. - <% else %> + <%- else -%> We count a conflict as new in a region even if the conflict also starts in other regions. The sum across all regions can therefore be higher than the total number of new conflicts. - <% endif %> + <%- endif -%> tables: diff --git a/etl/steps/data/garden/war/2023-09-21/cow.meta.yml b/etl/steps/data/garden/war/2023-09-21/cow.meta.yml index 7d324d2804e..c0831948820 100644 --- a/etl/steps/data/garden/war/2023-09-21/cow.meta.yml +++ b/etl/steps/data/garden/war/2023-09-21/cow.meta.yml @@ -37,11 +37,11 @@ definitions: <%- endif -%> time_filling_processing: |- - <% if conflict_type == "all" %> + <%-if conflict_type == "all" -%> We extend the time-series to 2007, by drawing on Correlates of War's Directed Dyadic Interstate War Dataset (version 4.01), which identifies no interstate wars for the years since 2003. - <% elif conflict_type == "inter-state" %> + <%-elif conflict_type == "inter-state" -%> We extend the time-series to 2010, by drawing on Correlates of War's Directed Dyadic Interstate War Dataset (version 4.01), which identifies no wars for the years since 2003. - <% endif %> + <%-endif -%> number_ongoing_conflicts: description_short: |- @@ -73,13 +73,13 @@ definitions: - "{definitions.all.conflict_type}" - We count a war as new in a region even if the war started at the same time in another region. The sum across all regions can therefore be higher than the total number of new wars. - |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> We only count a war as new when the war overall started that year, not if it restarted. - <% elif conflict_type == "intra-state (internationalized)" %> + <%- elif conflict_type == "intra-state (internationalized)" -%> We also only count an internationalized intrastate war as new when the war overall started that year, not if it became internationalized. - <% elif conflict_type == "intra-state (non-internationalized)" %> + <%- elif conflict_type == "intra-state (non-internationalized)" -%> We also only count a non-internationalized intrastate war as new when the war overall started that year, not if it stopped being internationalized. - <% endif %> + <%- endif -%> - "{definitions.all.time_filling_processing}" number_deaths: @@ -107,11 +107,11 @@ definitions: - "{definitions.all.conflict_type}" - For wars without any deaths estimate, we conservatively coded Correlates of War's lower bound for including a war, 1,000 deaths each year. # - |- - # <% if conflict_type == "all" %> + # <%-if conflict_type == "all" -%> # If a war was ongoing in more than one world region, we distributed its deaths across the regions of the participants. - # <% elif conflict_type == "inter-state" %> + # <%-elif conflict_type == "inter-state" -%> # If a war was ongoing in more than one world region, we distributed its deaths across the regions of the participants. - # <% endif %> + # <%-endif -%> - "{definitions.all.time_filling_processing}" - If a war lasted more than one year, we distributed its deaths evenly across years. @@ -138,7 +138,7 @@ tables: <%- elif conflict_type == "intra-state (non-internationalized)" -%> State participated in at least one non-internationalized intrastate war that year. - <% else -%> + <%-else -%> State participated in at least one << conflict_type.replace("-", "") >> war that year. <%- endif -%> @@ -159,7 +159,7 @@ tables: <%- elif conflict_type == "intra-state (non-internationalized)" -%> Included are states that were primary participants in at least one non-internationalized intrastate war that year. - <% else -%> + <%- else -%> Included are states that were primary participants in at least one << conflict_type >> war that year. <%- endif -%> @@ -186,7 +186,7 @@ tables: <%- elif conflict_type == "intra-state (non-internationalized)" -%> At least one non-internationalized intrastate war event took place in this country in a given year. - <% else -%> + <%-else -%> At least one << conflict_type >> war event took place in this country in a given year. <%- endif -%> @@ -211,7 +211,7 @@ tables: <%- elif conflict_type == "intra-state (non-internationalized)" -%> Included are non-internationalized wars that caused at least one death in the country that year. - <% else -%> + <%- else -%> Included are << conflict_type >> wars that caused at least one death in the country that year. <%- endif -%> diff --git a/etl/steps/data/garden/war/2023-09-21/mars.meta.yml b/etl/steps/data/garden/war/2023-09-21/mars.meta.yml index 86a5203f74a..952866fb2af 100644 --- a/etl/steps/data/garden/war/2023-09-21/mars.meta.yml +++ b/etl/steps/data/garden/war/2023-09-21/mars.meta.yml @@ -9,24 +9,24 @@ definitions: all: conflict_type: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> A conventional war is a conflict between combatants with differentiated militaries and clear frontlines that causes at least 500 deaths over its duration. - <% elif conflict_type == "others (non-civil)" %> + <%- elif conflict_type == "others (non-civil)" -%> A conventional interstate war is a conflict between states with differentiated militaries and clear frontlines that causes at least 500 deaths over its duration. - <% elif conflict_type == "civil war" %> + <%- elif conflict_type == "civil war" -%> A civil war is a conflict between combatants that were previously part of the same state, but now at least one seeks control or secession. It is fought with differentiated militaries and clear frontlines and causes at least 500 deaths over its duration. - <% endif %> + <%- endif -%> conflict_type_noncivil: |- - <% if conflict_type == "others (non-civil)" %> + <%- if conflict_type == "others (non-civil)" -%> We identify conventional interstate wars as those wars that are not coded civil wars by Project Mars. - <% endif %> + <%- endif -%> conflict_types_additional: |- - <% if (conflict_type == "others (non-civil)" or conflict_type == "civil war") %> + <%- if (conflict_type == "others (non-civil)" or conflict_type == "civil war") -%> For the two wars that had campaigns within it that were a civil war and an interstate war, we coded them as interstate wars. - <% endif %> + <%- endif -%> conflicts_description: |- <%- if conflict_type == "all" -%> Included are conventional wars that were ongoing that year @@ -60,13 +60,13 @@ definitions: - "{definitions.all.conflict_types_additional}" - Deaths of combatants due to fighting are included. - |- - <% if conflict_type == "civil war" %> + <%- if conflict_type == "civil war" -%> If a war lasted more than one year, we distributed its deaths evenly across years. - <% else %> + <%- else -%> If a war lasted more than one year, we distributed its deaths evenly across years. If a war was ongoing in more than one world region, we also evenly distributed its deaths across the regions of the participants. - <% endif %> + <%- endif -%> number_ongoing_conflicts: description_short: |- @@ -85,16 +85,16 @@ definitions: - "{definitions.all.conflict_type_noncivil}" - "{definitions.all.conflict_types_additional}" - |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> We only count a war as new when the war overall started that year, not if it restarted or a new campaign within it begins. - <% elif conflict_type == "others (non-civil)" %> + <%- elif conflict_type == "others (non-civil)" -%> We only count a conventional interstate war as new when the war overall started that year, not if a civil war became internationalized. - <% elif conflict_type == "civil war" %> + <%- elif conflict_type == "civil war" -%> We only count a civil war as new when the war overall started that year, not if the war became a civil war. - <% endif %> + <%- endif -%> - We count a war as new in a region even if the war started earlier or at the same time in another region. The sum across all regions can therefore be higher than the total number of new wars. @@ -114,16 +114,16 @@ tables: title: State involved in war unit: "" description_short: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> State was a major participant in at least one conventional war that year. - <% elif conflict_type == "others (non-civil)" %> + <%- elif conflict_type == "others (non-civil)" -%> State was a major participant in at least one conventional interstate war that year. - <% elif conflict_type == "civil war" %> + <%- elif conflict_type == "civil war" -%> State was a major participant in at least one conventional civil war that year. - <% endif %> + <%- endif -%> description_key: - |- '1' indicates that the state participated in a war. '0' indicates that the state did not participate in a war. @@ -132,16 +132,16 @@ tables: title: Number of states involved in war unit: "states" description_short: |- - <% if conflict_type == "all" %> + <%- if conflict_type == "all" -%> Included are states that were major participants in at least one conventional war that year. - <% elif conflict_type == "others (non-civil)" %> + <%- elif conflict_type == "others (non-civil)" -%> Included are states that were major participants in at least one conventional interstate war that year. - <% elif conflict_type == "civil war" %> + <%- elif conflict_type == "civil war" -%> Included are states that were major participants in at least one conventional civil war that year. - <% endif %> + <%- endif -%> # MAIN INDICATORS mars: diff --git a/etl/steps/data/garden/who/2022-09-30/ghe.meta.yml b/etl/steps/data/garden/who/2022-09-30/ghe.meta.yml index 98290bbc5b8..ccfd9781552 100644 --- a/etl/steps/data/garden/who/2022-09-30/ghe.meta.yml +++ b/etl/steps/data/garden/who/2022-09-30/ghe.meta.yml @@ -11,109 +11,109 @@ definitions: - World processing_level: minor age: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> all ages - <% elif age_group == "age-standardized" %> + <%- elif age_group == "age-standardized" -%> an age-standardized population - <% elif age_group == "YEARS0-14" %> + <%- elif age_group == "YEARS0-14" -%> 0-14 year olds - <% elif age_group == "YEARS0-4" %> + <%- elif age_group == "YEARS0-4" -%> 0-4 year olds - <% elif age_group == "YEARS5-14" %> + <%- elif age_group == "YEARS5-14" -%> 5-14 year olds - <% elif age_group == "YEARS15-19" %> + <%- elif age_group == "YEARS15-19" -%> 15-19 year olds - <% elif age_group == "YEARS15-49" %> + <%- elif age_group == "YEARS15-49" -%> 15-49 year olds - <% elif age_group == "YEARS20-24" %> + <%- elif age_group == "YEARS20-24" -%> 20-24 year olds - <% elif age_group == "YEARS25-34" %> + <%- elif age_group == "YEARS25-34" -%> 25-34 year olds - <% elif age_group == "YEARS35-44" %> + <%- elif age_group == "YEARS35-44" -%> 35-44 year olds - <% elif age_group == "YEARS45-54" %> + <%- elif age_group == "YEARS45-54" -%> 45-54 year olds - <% elif age_group == "YEARS50-69" %> + <%- elif age_group == "YEARS50-69" -%> 50-69 year olds - <% elif age_group == "YEARS55-64" %> + <%- elif age_group == "YEARS55-64" -%> 55-64 year olds - <% elif age_group == "YEARS65-74" %> + <%- elif age_group == "YEARS65-74" -%> 65-74 year olds - <% elif age_group == "YEARS70+" %> + <%- elif age_group == "YEARS70+" -%> 70+ year olds - <% elif age_group == "YEARS75-84" %> + <%- elif age_group == "YEARS75-84" -%> 75-84 year olds - <% elif age_group == "YEARS85PLUS" %> + <%- elif age_group == "YEARS85PLUS" -%> 85+ year olds <%- endif -%> sex: |- - <% if sex == "Both sexes" %>both sexes<% elif sex == "Male" %>males<% elif sex == "Female" %>females<% endif %> + <%- if sex == "Both sexes" -%>both sexes<%- elif sex == "Male" -%>males<%- elif sex == "Female" -%>females<%- endif -%> deaths_title: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> Total deaths from << cause.lower() >> among {definitions.sex} - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Age-standardized deaths from << cause.lower() >> among {definitions.sex} - <% else %> + <%- else -%> Deaths from << cause.lower() >> among {definitions.sex} aged {definitions.age} <%- endif -%> deaths_description: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> Estimated number of deaths from << cause.lower() >> in {definitions.sex}. - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Estimated number of age-standardized deaths from << cause.lower() >> in {definitions.sex}. - <% else %> + <%- else -%> Estimated number of deaths from << cause.lower() >> among {definitions.sex} aged {definitions.age}. <%- endif -%> death_rate_title: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> Death rate from << cause.lower() >> among {definitions.sex} - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Age-standardized death rate from << cause.lower() >> among {definitions.sex} - <% else %> + <%- else -%> Death rate from << cause.lower() >> among {definitions.sex} aged {definitions.age} <%- endif -%> death_rate_description: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> Estimated number of deaths from << cause.lower() >> in {definitions.sex}, per 100,000 people. - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Estimated number of age-standardized deaths from << cause.lower() >> in {definitions.sex}, per 100,000 people. - <% else %> + <%- else -%> Estimated number of deaths from << cause.lower() >> among {definitions.sex} aged {definitions.age}, per 100,000 people. <%- endif -%> dalys_title: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> DALYs from << cause.lower() >> among {definitions.sex} - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Age-standardized DALYs from << cause.lower() >> among {definitions.sex} - <% else %> + <%- else -%> DALYs from << cause.lower() >> among {definitions.sex} aged {definitions.age} <%- endif -%> dalys_description: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> Estimated number of [DALYs](#dod:dalys) from << cause.lower() >> in {definitions.sex}. - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Estimated number of age-standardized [DALYs](#dod:dalys) from << cause.lower() >> in {definitions.sex}. - <% else %> + <%- else -%> Estimated number of [DALYs](#dod:dalys) from << cause.lower() >> among {definitions.sex} aged {definitions.age}. <%- endif -%> dalys_rate_title: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> DALYs from << cause.lower() >>, among {definitions.sex} per 100,000 people - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Age-standardized DALYs from << cause.lower() >> among {definitions.sex}, per 100,000 people - <% else %> + <%- else -%> DALYs from << cause.lower() >> among {definitions.sex} aged {definitions.age}, per 100,000 people <%- endif -%> dalys_rate_description: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> Estimated number of [DALYs](#dod:dalys) from << cause.lower() >> in {definitions.sex}, per 100,000 people. - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Estimated number of age-standardized [DALYs](#dod:dalys) from << cause.lower() >> in {definitions.sex}, per 100,000 people. - <% else %> + <%- else -%> Estimated number of [DALYs](#dod:dalys) from << cause.lower() >> among {definitions.sex} aged {definitions.age}, per 100,000 people. <%- endif -%> footnote: |- - <% if age == "Age-standardized" %>To allow for comparisons between countries and over time, this metric is [age-standardized](#dod:age_standardized).<%- endif -%> + <%- if age == "Age-standardized" -%>To allow for comparisons between countries and over time, this metric is [age-standardized](#dod:age_standardized).<%- endif -%> tables: ghe: variables: diff --git a/etl/steps/data/garden/who/2024-07-30/ghe.meta.yml b/etl/steps/data/garden/who/2024-07-30/ghe.meta.yml index 8dde7cfd66b..945ba3eb5bd 100644 --- a/etl/steps/data/garden/who/2024-07-30/ghe.meta.yml +++ b/etl/steps/data/garden/who/2024-07-30/ghe.meta.yml @@ -11,109 +11,109 @@ definitions: - World processing_level: major age: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> all ages - <% elif age_group == "age-standardized" %> + <%- elif age_group == "age-standardized" -%> an age-standardized population - <% elif age_group == "YEARS0-14" %> + <%- elif age_group == "YEARS0-14" -%> 0-14 year olds - <% elif age_group == "YEARS0-4" %> + <%- elif age_group == "YEARS0-4" -%> 0-4 year olds - <% elif age_group == "YEARS5-14" %> + <%- elif age_group == "YEARS5-14" -%> 5-14 year olds - <% elif age_group == "YEARS15-19" %> + <%- elif age_group == "YEARS15-19" -%> 15-19 year olds - <% elif age_group == "YEARS15-49" %> + <%- elif age_group == "YEARS15-49" -%> 15-49 year olds - <% elif age_group == "YEARS20-24" %> + <%- elif age_group == "YEARS20-24" -%> 20-24 year olds - <% elif age_group == "YEARS25-34" %> + <%- elif age_group == "YEARS25-34" -%> 25-34 year olds - <% elif age_group == "YEARS35-44" %> + <%- elif age_group == "YEARS35-44" -%> 35-44 year olds - <% elif age_group == "YEARS45-54" %> + <%- elif age_group == "YEARS45-54" -%> 45-54 year olds - <% elif age_group == "YEARS50-69" %> + <%- elif age_group == "YEARS50-69" -%> 50-69 year olds - <% elif age_group == "YEARS55-64" %> + <%- elif age_group == "YEARS55-64" -%> 55-64 year olds - <% elif age_group == "YEARS65-74" %> + <%- elif age_group == "YEARS65-74" -%> 65-74 year olds - <% elif age_group == "YEARS70+" %> + <%- elif age_group == "YEARS70+" -%> 70+ year olds - <% elif age_group == "YEARS75-84" %> + <%- elif age_group == "YEARS75-84" -%> 75-84 year olds - <% elif age_group == "YEARS85PLUS" %> + <%- elif age_group == "YEARS85PLUS" -%> 85+ year olds <%- endif -%> sex: |- - <% if sex == "Both sexes" %>both sexes<% elif sex == "Male" %>males<% elif sex == "Female" %>females<% endif %> + <%- if sex == "Both sexes" %>both sexes<% elif sex == "Male" %>males<% elif sex == "Female" %>females<% endif -%> deaths_title: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> Total deaths from << cause.lower() >> among {definitions.sex} - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Age-standardized deaths from << cause.lower() >> among {definitions.sex} - <% else %> + <%- else -%> Deaths from << cause.lower() >> among {definitions.sex} aged {definitions.age} <%- endif -%> deaths_description: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> Estimated number of deaths from << cause.lower() >> in {definitions.sex}. - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Estimated number of age-standardized deaths from << cause.lower() >> in {definitions.sex}. - <% else %> + <%- else -%> Estimated number of deaths from << cause.lower() >> among {definitions.sex} aged {definitions.age}. <%- endif -%> death_rate_title: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> Death rate from << cause.lower() >> among {definitions.sex} - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Age-standardized death rate from << cause.lower() >> among {definitions.sex} - <% else %> + <%- else -%> Death rate from << cause.lower() >> among {definitions.sex} aged {definitions.age} <%- endif -%> death_rate_description: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> Estimated number of deaths from << cause.lower() >> in {definitions.sex}, per 100,000 people. - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Estimated number of age-standardized deaths from << cause.lower() >> in {definitions.sex}, per 100,000 people. - <% else %> + <%- else -%> Estimated number of deaths from << cause.lower() >> among {definitions.sex} aged {definitions.age}, per 100,000 people. <%- endif -%> dalys_title: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> DALYs from << cause.lower() >> among {definitions.sex} - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Age-standardized DALYs from << cause.lower() >> among {definitions.sex} - <% else %> + <%- else -%> DALYs from << cause.lower() >> among {definitions.sex} aged {definitions.age} <%- endif -%> dalys_description: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> Estimated number of [DALYs](#dod:dalys) from << cause.lower() >> in {definitions.sex}. - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Estimated number of age-standardized [DALYs](#dod:dalys) from << cause.lower() >> in {definitions.sex}. - <% else %> + <%- else -%> Estimated number of [DALYs](#dod:dalys) from << cause.lower() >> among {definitions.sex} aged {definitions.age}. <%- endif -%> dalys_rate_title: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> DALYs from << cause.lower() >>, among {definitions.sex} per 100,000 people - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Age-standardized DALYs from << cause.lower() >> among {definitions.sex}, per 100,000 people - <% else %> + <%- else -%> DALYs from << cause.lower() >> among {definitions.sex} aged {definitions.age}, per 100,000 people <%- endif -%> dalys_rate_description: |- - <% if age_group == "ALLAges" %> + <%- if age_group == "ALLAges" -%> Estimated number of [DALYs](#dod:dalys) from << cause.lower() >> in {definitions.sex}, per 100,000 people. - <% elif age_group == "Age-standardized" %> + <%- elif age_group == "Age-standardized" -%> Estimated number of age-standardized [DALYs](#dod:dalys) from << cause.lower() >> in {definitions.sex}, per 100,000 people. - <% else %> + <%- else -%> Estimated number of [DALYs](#dod:dalys) from << cause.lower() >> among {definitions.sex} aged {definitions.age}, per 100,000 people. <%- endif -%> footnote: |- - <% if age == "Age-standardized" %>To allow for comparisons between countries and over time, this metric is [age-standardized](#dod:age_standardized).<%- endif -%> + <%- if age == "Age-standardized" %>To allow for comparisons between countries and over time, this metric is [age-standardized](#dod:age_standardized).<%- endif -%> tables: ghe: variables: