Given a comma-separated list of control IDs, return a named list of descriptions for each control with the names set to the control IDs.

derive_control_key(capability_ids, capabilities)

Arguments

capability_ids

Comma-delimited list of capabilities in scope for a scenario.

capabilities

Dataframe of master list of all qualitative capabilities.

Value

A named list of control IDs and descriptions.

Examples

data(mc_capabilities) capability_ids <- c("1, 3") derive_control_key(capability_ids, mc_capabilities)
#> named list()