From 8a2e7745f4eabd5506989df6ebc00f416ce3ec09 Mon Sep 17 00:00:00 2001 From: spoonerf Date: Wed, 22 May 2024 09:32:43 +0100 Subject: [PATCH] add funding data --- .../garden/neglected_tropical_diseases/2024-05-18/funding.py | 2 +- .../grapher/neglected_tropical_diseases/2024-05-18/funding.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/etl/steps/data/garden/neglected_tropical_diseases/2024-05-18/funding.py b/etl/steps/data/garden/neglected_tropical_diseases/2024-05-18/funding.py index 1ced4aa9ca8..ece880a6e28 100644 --- a/etl/steps/data/garden/neglected_tropical_diseases/2024-05-18/funding.py +++ b/etl/steps/data/garden/neglected_tropical_diseases/2024-05-18/funding.py @@ -74,7 +74,7 @@ def run(dest_dir: str) -> None: # Create a new garden dataset with the same metadata as the meadow dataset. ds_garden = create_dataset( dest_dir, - tables=[tb_disease, tb_product, tb_disease_product], + tables=[tb_disease, tb_product, tb_disease_product, tb_product_ntd], check_variables_metadata=True, default_metadata=ds_meadow.metadata, ) diff --git a/etl/steps/data/grapher/neglected_tropical_diseases/2024-05-18/funding.py b/etl/steps/data/grapher/neglected_tropical_diseases/2024-05-18/funding.py index f6ba0ecfde9..ca9d5c9359c 100644 --- a/etl/steps/data/grapher/neglected_tropical_diseases/2024-05-18/funding.py +++ b/etl/steps/data/grapher/neglected_tropical_diseases/2024-05-18/funding.py @@ -16,6 +16,7 @@ def run(dest_dir: str) -> None: # Read table from garden dataset. tb_disease = ds_garden["funding_disease"] tb_product = ds_garden["funding_product"] + tb_product_ntd = ds_garden["funding_product_ntd"] tb_disease_product = ds_garden["funding_disease_product"] # Save outputs. @@ -23,7 +24,7 @@ def run(dest_dir: str) -> None: # Create a new grapher dataset with the same metadata as the garden dataset. ds_grapher = create_dataset( dest_dir, - tables=[tb_disease, tb_product, tb_disease_product], + tables=[tb_disease, tb_product, tb_disease_product, tb_product_ntd], check_variables_metadata=True, default_metadata=ds_garden.metadata, )