Reads in all the questions for which subject matter expert input is needed. Includes the domains, capabilities, scenarios, calibration questions, and threat communities.

read_questions(source_dir, active_only = TRUE)

Arguments

source_dir

Directory location to find input files.

active_only

Read in only the active elements, defaults to TRUE.

Value

A tidyrisk_question_set object

Details

Expects the following files to be present:

  • domains.csv - Domains

    • domain_id, domain

  • capabilities.csv - Capabilities

    • domain_id, capability_id, capability

  • scenarios.csv - Scenarios

    • scenario_id, scenario, threat_id, domain_id, controls

  • sme_top_domains.csv - SME expertise

    • sme, domain1, domain2, domain3, domain4, domain5, domain6, domain7

  • calibration_questions.csv - Calibration questions

  • threat_communities.csv - Threat communities

    • threat_community, threat_id, definition, low, high

Examples

if (FALSE) { read_questions() }