Calculate the Flesch-Kincaid score for each scenario and return that score along with the scenario ID and domain as a tidy dataframe.

check_readability(x)

Arguments

x

A tidyrisk_question_set object

Value

A dataframe of the scenario id, domain id, and the Flesch-Kincaid readability score for the scenario text.

Examples

if (FALSE) { questions <- read_questions() check_readability(questions) }