Description Usage Arguments Value
Create a data table containing all location-age-sex-year-week groups that will be estimated in the model. This template can then be left-joined to death, population, and covariate data.
| 1 | create_template_dt(model_years, model_week_range, location_table, age_groups)
 | 
| model_years | Vector of years to be modeled | 
| model_week_range | Vector of weeks IDs (1-52) to include in the model | 
| location_table | Table with 'location_code's for all locations to be modeled | 
| age_groups | Age group index, created by 'create_age_groups()' | 
Template data.table containing all combinations of these indexes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.