You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We have agg_lt for aggregating life tables over age. However, a different approach is required when aggregating over other variables, like location hierarchy.
Describe the solution you'd like
mx * population --> deaths
ax * deaths --> death-weighted ax
aggregate deaths and death-weighted ax with sum function within hierarchyUtils::agg
Is your feature request related to a problem? Please describe.
We have
agg_lt
for aggregating life tables over age. However, a different approach is required when aggregating over other variables, like location hierarchy.Describe the solution you'd like
sum
function withinhierarchyUtils::agg
Describe alternatives you've considered
Could also just write up a guide for this instead of writing a new
hierarchyUtils::agg
wrapper function.Additional context
For IHME team members, see current FLT code here:
https://github.com/ihmeuw/ihme-modeling/blob/master/gbd_2019/mortality_code/full_life_tables/03_aggregate_lts.R
The text was updated successfully, but these errors were encountered: