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