Skip to content

Commit e0f9f46

Browse files
SylLutzeSylvia LutzeSylvia Lutzestevebachmeier
authored
Updating artifact for GBD 2023 and repo updates (#187)
* Updating artifact for GBD 2023 and repo updates * Adding years argument to all functions * Reformatting --------- Co-authored-by: Sylvia Lutze <lutzes@long-slurm-sarchive-p0014.cluster.ihme.washington.edu> Co-authored-by: Sylvia Lutze <lutzes@long-slurm-sarchive-p0033.cluster.ihme.washington.edu> Co-authored-by: Steve Bachmeier <sbachmei@uw.edu>
1 parent 70fe1de commit e0f9f46

File tree

3 files changed

+306
-172
lines changed

3 files changed

+306
-172
lines changed

src/vivarium_gates_nutrition_optimization_child/constants/metadata.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,9 @@
5353
"subnational",
5454
]
5555

56-
DRAW_COUNT = 500
56+
DRAW_COUNT = 250
5757
ARTIFACT_COLUMNS = pd.Index([f"draw_{i}" for i in range(DRAW_COUNT)])
58-
GBD_2021_ROUND_ID = 7
59-
GBD_EXTRACT_YEAR = 2021
58+
GBD_EXTRACT_YEAR = 2023
6059

6160

6261
class __Scenarios(NamedTuple):
@@ -78,13 +77,13 @@ class __AgeGroup(NamedTuple):
7877
MONTHS_12_TO_23 = 238
7978
YEARS_2_TO_4 = 34
8079

81-
## Keep these but should be 2021 not 2019. Post-neonatal changed. These are all correct, can just update title to 2021.
82-
GBD_2019_LBWSG_EXPOSURE = {BIRTH_ID, EARLY_NEONATAL_ID, LATE_NEONATAL_ID}
83-
GBD_2019_LBWSG_RELATIVE_RISK = {EARLY_NEONATAL_ID, LATE_NEONATAL_ID}
84-
GBD_2019_SIDS = {LATE_NEONATAL_ID}
80+
## Keep these but should be 2023 not 2019. Post-neonatal changed. These are all correct, can just update title to 2023.
81+
GBD_2023_LBWSG_EXPOSURE = {BIRTH_ID, EARLY_NEONATAL_ID, LATE_NEONATAL_ID}
82+
GBD_2023_LBWSG_RELATIVE_RISK = {EARLY_NEONATAL_ID, LATE_NEONATAL_ID}
83+
GBD_2023_SIDS = {LATE_NEONATAL_ID}
8584

8685
## Could make this through vivarium_inputs instead of defining it here
87-
GBD_2021 = {
86+
GBD_2023 = {
8887
EARLY_NEONATAL_ID,
8988
LATE_NEONATAL_ID,
9089
MONTHS_1_TO_5,

0 commit comments

Comments
 (0)