Turns board-area names into the labels used on figures and in the
workbench, so a legend never shows a column name such as "icu_imc".
Anything unrecognised is passed through unchanged rather than becoming
NA, which keeps the function total over user-supplied vocabularies.
Usage
sdt_area_labels(areas = sdt_board_areas())Arguments
- areas
Character vector of board areas. Defaults to
sdt_board_areas().
See also
sdt_board_areas(), and summary.game_run(), whose
reference = TRUE folds the board onto the published reporting
locations.
Examples
sdt_area_labels()
#> [1] "Screening" "ED red" "ED yellow" "Radiology"
#> [5] "Operating room" "Recovery" "ICU / IMC" "Ward"
#> [9] "Green area" "Mortuary" "Transferred out" "Not yet seen"
sdt_area_labels(c("or", "morgue", "nowhere"))
#> [1] "Operating room" "Mortuary" "nowhere"