Can query from cross_all, cross_under5, cohort_all and cohort_under5

fetch_stochastic_data(
  annex,
  table,
  groups = c("disease", "country", "year"),
  filters = NULL
)

Arguments

annex

Connection to annex db

table

One of cross_all, cross_under5, cohort_all or cohort_under5

groups

Categories to group by for aggregating in query

filters

Filters to apply before aggregation

Value

Mean, 0.025 and 0.975 quantiles for deaths_default, deaths_novac. deaths_impact, dalys_default, dalys_novac, dalys_impact with specified groupings.