RegisterBatchData | R Documentation |
Creates .data.batch which is used when running/looping over multiple birth cohorts ( runCohort() ) at once.
RegisterBatchData(coverage_data, reporting_years = -1, force = FALSE)
coverage_data |
Data table with columns country_code, year (of vaccination), age_first, age_last, coverage. |
reporting_years |
Numeric_vector, years that should be reported (parameter: not required) |
force |
Logical, whether .data.batch should be overwritten if it already exists (parameter: not required) |
.data.batch is based on the data.table (DT) coverage_data, which is a DT with columns country_code (ISO3), year (of vaccination), age_first (age at vaccination), age_last (age at vaccination), coverage (in proportion, for all the agegroups specified).
If you only want to run 1 age in this country/coverage combination, age_first==age_last
batch data of cohorts with vaccination coverage
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.