Given an input of:

  • qualitative risk scenarios

  • qualitative capabilities

  • translation table from qualitative labels to quantitative parameters

encode_scenarios(scenarios, capabilities, mappings)

Arguments

scenarios

Qualitative risk scenarios dataframe.

capabilities

Qualitative program capabilities dataframe.

mappings

Qualitative to quantitative mapping dataframe.

Value

A dataframe of capabilities for the scenario and parameters for quantified simulation.

Details

Create a unified dataframe of quantitative scenarios ready for simulation.

Examples

data(mc_qualitative_scenarios, mc_capabilities, mc_mappings) encode_scenarios(mc_qualitative_scenarios, mc_capabilities, mc_mappings)
#> # A tibble: 56 x 6 #> scenario_id scenario_description tcomm domain_id control_descrip… scenario #> <chr> <chr> <chr> <chr> <list> <list> #> 1 RS-01 Inadequate human res… Techno… ORG <named list [7]> <r_scen> #> 2 RS-02 Budget does not adeq… Techno… ORG <named list [7]> <r_scen> #> 3 RS-03 Competing priorities… Techno… ORG <named list [7]> <r_scen> #> 4 RS-04 Increased negligence… Techno… ORG <named list [8]> <r_scen> #> 5 RS-05 The information secu… Techno… ORG <named list [5]> <r_scen> #> 6 RS-06 Inconsistent interpr… Organi… POL <named list [4]> <r_scen> #> 7 RS-07 Misuse of informatio… Organi… POL <named list [4]> <r_scen> #> 8 RS-08 Noncompliance with l… Organi… POL <named list [4]> <r_scen> #> 9 RS-09 New or changing priv… Regula… COMP <named list [2]> <r_scen> #> 10 RS-10 Internal workforce m… Organi… COMP <named list [2]> <r_scen> #> # … with 46 more rows