check_readability: Check the readability of scenario text

Description Usage Arguments Value Examples

View source: R/utils.R

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

1

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

1
2
3
4
5
## Not run: 
questions <- read_questions()
check_readability(questions)

## End(Not run)

collector documentation built on Feb. 22, 2020, 1:11 a.m.