Learn R Programming

collector (version 0.1.3)

check_readability: Check the readability of scenario text

Description

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

Usage

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

Run this code
# NOT RUN {
questions <- read_questions()
check_readability(questions)
# }

Run the code above in your browser using DataLab