Skip to content

Commit

Permalink
add schema
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasrodes committed Dec 12, 2024
1 parent 1f5eaa5 commit 42cead4
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 3 deletions.
1 change: 1 addition & 0 deletions etl/steps/export/multidim/covid/latest/covid.cases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ definitions:
entity: true
time: true
changeInPrefix: true
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json

title:
title: COVID-19 confirmed cases
Expand Down
2 changes: 2 additions & 0 deletions etl/steps/export/multidim/covid/latest/covid.cases_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ views:
x: grapher/covid/latest/cases_deaths/cases_deaths#new_cases_7_day_avg_right
config:
chartTypes: ["ScatterPlot"]
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
- dimensions:
normalize: per_capita
indicators:
y: grapher/covid/latest/testing/testing#new_tests_per_thousand_7day_smoothed
x: grapher/covid/latest/cases_deaths/cases_deaths#new_cases_per_million_7_day_avg_right
color: 123
config:
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
chartTypes: ["ScatterPlot"]
map:
colorScale:
Expand Down
4 changes: 4 additions & 0 deletions etl/steps/export/multidim/covid/latest/covid.covax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ views:
chartTypes: ["StackedDiscreteBar"]
sortBy: column
sortColumnSlug: "{definitions.table}#delivered"
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
dimensions:
- property: y
variableId: 988127
Expand Down Expand Up @@ -101,6 +102,7 @@ views:
note: COVAX is a worldwide initiative aimed at equitable access to COVID-19 vaccines. It is directed by Gavi, CEPI, and the WHO. Gross domestic product is expressed in U.S. Dollars; it is sourced from the World Bank and OECD.
originUrl: ourworldindata.org/coronavirus
chartTypes: ["StackedDiscreteBar"]
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json

- dimensions:
normalize: per_dose
Expand All @@ -116,6 +118,7 @@ views:
note: COVAX is a worldwide initiative aimed at equitable access to COVID-19 vaccines. It is directed by Gavi, CEPI, and the WHO. Gross domestic product is expressed in U.S. Dollars; it is sourced from the World Bank and OECD.
originUrl: ourworldindata.org/coronavirus
chartTypes: ["StackedDiscreteBar"]
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json

- dimensions:
normalize: per_gdp
Expand All @@ -131,3 +134,4 @@ views:
note: COVAX is a worldwide initiative aimed at equitable access to COVID-19 vaccines. It is directed by Gavi, CEPI, and the WHO. Gross domestic product is expressed in U.S. Dollars; it is sourced from the World Bank and OECD.
originUrl: ourworldindata.org/coronavirus
chartTypes: ["StackedDiscreteBar"]
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
1 change: 1 addition & 0 deletions etl/steps/export/multidim/covid/latest/covid.deaths.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
definitions:
table: grapher/covid/latest/cases_deaths/cases_deaths
config: &config
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
tab: map
originUrl: ourworldindata.org/coronavirus
hideAnnotationFieldsInTitle:
Expand Down
2 changes: 1 addition & 1 deletion etl/steps/export/multidim/covid/latest/covid.hospital.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
definitions:
table: grapher/covid/latest/hospital/hospital
config: &config
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
hideAnnotationFieldsInTitle:
entity: true
time: true
changeInPrefix: true
originUrl: ourworldindata.org/coronavirus


title:
title: COVID-19 hospitalisations
titleVariant: by type
Expand Down
1 change: 1 addition & 0 deletions etl/steps/export/multidim/covid/latest/covid.mobility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ views:
- "{definitions.table}#trend__place_workplaces"

config:
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
title: "How did the number of visitors change since the beginning of the pandemic?"
subtitle: This data shows how community movement in specific locations has changed relative to the period before the pandemic.
note: It's not recommended to compare levels across countries; local differences in categories could be misleading.
Expand Down
4 changes: 4 additions & 0 deletions etl/steps/export/multidim/covid/latest/covid.models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ views:
- "grapher/covid/latest/cases_deaths/cases_deaths#new_cases_7_day_avg_right"

config:
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
title: "Daily new estimated COVID-19 infections from the ICL model"
subtitle: Estimates of the true number of infections. The "upper" and "lower" lines show the bounds of a 95% uncertainty interval. For comparison, confirmed cases are infections that have been confirmed with a test.
note: This chart shows the model estimates dated 25 December 2022.
Expand All @@ -56,6 +57,7 @@ views:
- "grapher/covid/latest/cases_deaths/cases_deaths#new_cases_7_day_avg_right"

config:
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
title: "Daily new estimated COVID-19 infections from the IHME model"
subtitle: Estimates of the true number of infections. The "upper" and "lower" lines show the bounds of a 95% uncertainty interval. For comparison, confirmed cases are infections that have been confirmed with a test.
note: This chart shows the model estimates dated 16 December 2022.
Expand All @@ -74,6 +76,7 @@ views:
- "grapher/covid/latest/cases_deaths/cases_deaths#new_cases_7_day_avg_right"

config:
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
title: "Daily new estimated COVID-19 infections from the LSHTM model"
subtitle: Estimates of the true number of infections. The "upper" and "lower" lines show the bounds of a 95% uncertainty interval. For comparison, confirmed cases are infections that have been confirmed with a test.
note: This chart shows the model estimates dated 25 August 2020.
Expand All @@ -92,6 +95,7 @@ views:
- "grapher/covid/latest/cases_deaths/cases_deaths#new_cases_7_day_avg_right"

config:
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
title: "Daily new estimated COVID-19 infections from the YYG model"
subtitle: Estimates of the true number of infections. The "upper" and "lower" lines show the bounds of a 95% uncertainty interval. For comparison, confirmed cases are infections that have been confirmed with a test.
note: This chart shows the model estimates dated 4 October 2020. YYG announced that this is the final model update.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ dimensions:
name: Manufacturer
description: null


views:
- dimensions:
breakdown: income_group
indicators:
y: "grapher/covid/latest/vaccinations_global/vaccinations_global#total_vaccinations_per_hundred"
config:
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
addCountryMode: "disabled"
selectedEntityNames:
- High-income countries
Expand All @@ -55,6 +55,7 @@ views:
- "{definitions.table}#total_vaccinations__vaccine_skycovione"
- "{definitions.table}#total_vaccinations__vaccine_valneva"
config:
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
chartTypes: ["StackedArea"]
selectedEntityNames:
- European Union (27)
5 changes: 4 additions & 1 deletion etl/steps/export/multidim/covid/latest/covid.xm_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ views:
- "{definitions.indicator_confirmed}"

config:
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
title: "Estimated cumulative excess deaths during COVID-19"
subtitle: For countries that have not reported all-cause mortality data for a given week, an estimate is shown, with uncertainty interval. If reported data is available, that value only is shown. For comparison, cumulative confirmed COVID-19 deaths are shown.
originUrl: ourworldindata.org/coronavirus
hideAnnotationFieldsInTitle:
time: true


# The Economist
- dimensions:
model: econ
Expand All @@ -61,6 +61,7 @@ views:
- "{definitions.indicator_confirmed}"

config:
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
title: "Estimated cumulative excess deaths during COVID-19"
subtitle: For countries that have not reported all-cause mortality data for a given week, an estimate is shown, with uncertainty interval. If reported data is available, that value only is shown. For comparison, cumulative confirmed COVID-19 deaths are shown.
originUrl: ourworldindata.org/coronavirus
Expand All @@ -78,6 +79,7 @@ views:
- "{definitions.indicator_confirmed}"

config:
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
title: "Estimated cumulative excess deaths during COVID-19"
subtitle: For countries that have not reported all-cause mortality data for a given week, an estimate is shown, with uncertainty interval. If reported data is available, that value only is shown. For comparison, cumulative confirmed COVID-19 deaths are shown.
originUrl: ourworldindata.org/coronavirus
Expand All @@ -95,6 +97,7 @@ views:
- "{definitions.indicator_confirmed}"

config:
$schema: https://files.ourworldindata.org/schemas/grapher-schema.006.json
title: "Estimated cumulative excess deaths during COVID-19"
subtitle: For countries that have not reported all-cause mortality data for a given week, an estimate is shown, with uncertainty interval. If reported data is available, that value only is shown. For comparison, cumulative confirmed COVID-19 deaths are shown.
originUrl: ourworldindata.org/coronavirus
Expand Down

0 comments on commit 42cead4

Please sign in to comment.