Given a tidyrisk_question_set object and the name and the name of a specific SME of interest, create a vector of the domains in order of priority.

get_smes_domains(sme, questions)

Arguments

sme

Name of the subject matter expert.

questions

A tidyrisk_question_set object.

Value

An ordered vector of the domains for the requested SME.

Examples

# NOT RUN {
questions <- read_questions()
get_sme_domains("Sally Expert", questions)
# }