indicators
Key of the [outputs] table. Qualified name: outputs.indicators
Indicator ids to write, canonical names listed in schemas/indicators.toml; without it every indicator the step can estimate is written and the others are left out with a warning.
- Type
- array of strings
- Unit
- none
- Default
- no defaultexample: ["c:official/Core.population"]
- Valid range
- any listof strings
- Set in
- [outputs]optional table
- Since
- 0.1engine 0.1.0
Description
indicators is optional and has no default: when it is absent, the engine does without it.
Example
# scenario.toml
[scenario]
name = "tracer"
seed = 20180101
population = "closed"
aligned = false
scale_factor = 1.0
[time]
start = 2018-01-01
end = 2019-01-01
[outputs]
indicators = ["c:official/Core.population"] # this page
[plugins."test/ticker"]Run it with the engine built from source: cohortix run scenario.toml --output output/example.
Related
When the key is misspelled
Written idnicators, the key is refused before anything runs with the nearest accepted name:
error[E1022]: Unknown key `idnicators` in [outputs]; did you mean `indicators`?
--> scenario.toml:15:1
= fix: Rename `idnicators` to `indicators`, or remove it; the accepted keys of [outputs] are "persistence", "events", "size_budget", "grids", "indicators", "age_grids".
Errors that name this key
See also
- [outputs]What the run writes to its output folder.
- persistenceJournal persistence
- eventsEvent types the journal keeps when persistence is "subset", as canonical names such as "c
Generated from crates/cohortix-kernel/src/scenario/config.rs. Do not edit. This page (key outputs.indicators) is built from the engine sources at every documentation build. To change it, edit its ConfigKey in kernel_groups() and its one-line comment config.key.outputs.indicators in schemas/messages/en.toml and open a pull request.
grids
Time grids of the indicator tables, from "day", "week", "month", "quarter", "year", none finer than the step (a week step allows only "week" and "year"); default: the step's grid and "year".
age_grids
Age groupings of the indicator tables, from "single_year", "five_year", "age_months" (needs a day, week or month step) and "age_days" (needs a day step); default: ["single_year", "five_year"].