Skip to contents

Converts the raw result of a RegCheck comparison (a list with an items element, one item per compared dimension) into a data frame.

Usage

regcheck_tidy(result)

Arguments

result

a raw RegCheck result list, as returned by the RegCheck API

Value

a data frame with one row per dimension and columns dimension, deviation_judgement, paper_summary, prereg_summary, deviation_information, paper_quotes, and prereg_quotes

Examples

result <- list(items = list(list(dimension = "Sample size",
  deviation_judgement = "No deviation",
  paper_content_summary = "131 students took part.",
  registration_content_summary = "At least 100 students.")))
regcheck_tidy(result)[, c("dimension", "deviation_judgement")]
#>     dimension deviation_judgement
#> 1 Sample size        No deviation