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 × 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]> <tdyrsk
#>  2 RS-02       Budget does not adeq… Techno… ORG       <named list [7]> <tdyrsk
#>  3 RS-03       Competing priorities… Techno… ORG       <named list [7]> <tdyrsk
#>  4 RS-04       Increased negligence… Techno… ORG       <named list [8]> <tdyrsk
#>  5 RS-05       The information secu… Techno… ORG       <named list [5]> <tdyrsk
#>  6 RS-06       Inconsistent interpr… Organi… POL       <named list [4]> <tdyrsk
#>  7 RS-07       Misuse of informatio… Organi… POL       <named list [4]> <tdyrsk
#>  8 RS-08       Noncompliance with l… Organi… POL       <named list [4]> <tdyrsk
#>  9 RS-09       New or changing priv… Regula… COMP      <named list [2]> <tdyrsk
#> 10 RS-10       Internal workforce m… Organi… COMP      <named list [2]> <tdyrsk
#> # … with 46 more rows