Extract demographic data

get_population(
  con,
  touchstone_pop = "201710gavi-5",
  demographic_statistic = "int_pop",
  gender = "Both",
  country_ = NULL,
  year_ = NULL,
  age_ = NULL,
  demographic_source = NULL
)

Arguments

con

Datebase connection

touchstone_pop

Demography touchstone

demographic_statistic

Demographic statistic to extract

gender

Gender codes - "Male", "Female", "Both"

country_

All countries if NULL. Or specify a vector of countries

year_

All years if NULL. Or specify a vector of years

age_

All age groups if NULL. Or specify a vector of age groups

demographic_source

one of demographic_source.code, this works for IU where demography is not a model run version