Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Marigold committed Feb 3, 2025
1 parent 76bef85 commit 9af4cc3
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions etl/steps/data/garden/ihme_gbd/2024-05-20/impairments.meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,46 +6,46 @@ definitions:
- Global Health
processing_level: minor

macros:
<% macro title(metric, age, cause, impairment) %>
macros:
<% macro title(metric, age, cause, impairment) %>
<% if metric == "Number" %>
<% if age != 'Age-standardized' and age != 'All ages' %>
Number of individuals aged << age >> with << impairment >> due to << cause >>
<% elif age == 'Age-standardized' %>
Age-standardized number of individuals with << impairment >> due to << cause >>
<% elif age == 'All ages' %>
Total number of individuals with << impairment >> due to << cause >>
<% endif %>
<% elif metric == "Rate" %>
<% if age != 'Age-standardized' and age != 'All ages' %>
Rate of individuals aged << age >> with << impairment >> due to << cause >>, per 100,000 people
<% elif age == 'Age-standardized' %>
Age-standardized rate of individuals with << impairment >> due to << cause >>, per 100,000 people
<% elif age == 'All ages' %>
Rate of individuals with << impairment >> due to << cause >>, per 100,000 people
<% endif %>
<% endif %>
<% endmacro %>

<% macro description_short(metric, age, cause, impairment) %>
<% if metric == "Number" %>
<% if age != 'Age-standardized' and age != 'All ages' %>
Number of individuals aged << age >> with << impairment >> due to << cause >>
The estimated number of individuals aged << age >> with << impairment >> due to << cause >>.
<% elif age == 'Age-standardized' %>
Age-standardized number of individuals with << impairment >> due to << cause >>
The estimated number of individuals with << impairment >> due to << cause >>.
<% elif age == 'All ages' %>
Total number of individuals with << impairment >> due to << cause >>
The estimated number of individuals with << impairment >> due to << cause >>.
<% endif %>
<% elif metric == "Rate" %>
<% if age != 'Age-standardized' and age != 'All ages' %>
Rate of individuals aged << age >> with << impairment >> due to << cause >>, per 100,000 people
The estimated number of individuals aged << age >> with << impairment >> due to << cause >>, per 100,000 people.
<% elif age == 'Age-standardized' %>
Age-standardized rate of individuals with << impairment >> due to << cause >>, per 100,000 people
The estimated number of individuals with << impairment >> due to << cause >>, per 100,000 people.
<% elif age == 'All ages' %>
Rate of individuals with << impairment >> due to << cause >>, per 100,000 people
The estimated number of individuals with << impairment >> due to << cause >>, per 100,000 people.
<% endif %>
<% endif %>
<% endmacro %>

<% macro description_short(metric, age, cause, impairment) %>
<% if metric == "Number" %>
<% if age != 'Age-standardized' and age != 'All ages' %>
The estimated number of individuals aged << age >> with << impairment >> due to << cause >>.
<% elif age == 'Age-standardized' %>
The estimated number of individuals with << impairment >> due to << cause >>.
<% elif age == 'All ages' %>
The estimated number of individuals with << impairment >> due to << cause >>.
<% endif %>
<% elif metric == "Rate" %>
<% if age != 'Age-standardized' and age != 'All ages' %>
The estimated number of individuals aged << age >> with << impairment >> due to << cause >>, per 100,000 people.
<% elif age == 'Age-standardized' %>
The estimated number of individuals with << impairment >> due to << cause >>, per 100,000 people.
<% elif age == 'All ages' %>
The estimated number of individuals with << impairment >> due to << cause >>, per 100,000 people.
<% endif %>
<% endif %>
<% endmacro %>
<% endmacro %>

# Learn more about the available fields:
# http://docs.owid.io/projects/etl/architecture/metadata/reference/
Expand Down

0 comments on commit 9af4cc3

Please sign in to comment.