A data-key specification describing the columns and identifying variables
associated with each source dataset in the animal-import example. These
keys allow mcmodule to associate input parameters with the appropriate
model variates.
Format
A named list with three components:
- animal_imports
A list containing
cols, the columns provided by animal_imports, andkeys, withoriginas the identifying variable.- prevalence_region
A list containing
cols, the columns provided by prevalence_region, andkeys, withpathogenandoriginas the identifying variables.- test_sensitivity
A list containing
cols, the columns provided by test_sensitivity, andkeys, withpathogenas the identifying variable.
Examples
imports_data_keys
#> $animal_imports
#> $animal_imports$cols
#> [1] "origin" "farms_n" "animals_n_mean" "animals_n_sd"
#>
#> $animal_imports$keys
#> [1] "origin"
#>
#>
#> $prevalence_region
#> $prevalence_region$cols
#> [1] "pathogen" "origin" "h_prev_min" "h_prev_max" "w_prev_min"
#> [6] "w_prev_max" "test_origin"
#>
#> $prevalence_region$keys
#> [1] "pathogen" "origin"
#>
#>
#> $test_sensitivity
#> $test_sensitivity$cols
#> [1] "pathogen" "test_sensi_min" "test_sensi_mode" "test_sensi_max"
#>
#> $test_sensitivity$keys
#> [1] "pathogen"
#>
#>
imports_data_keys$prevalence_region$keys
#> [1] "pathogen" "origin"
