read_stats can read in a .json file containing the statistical output that was produced with write_stats. It returns a list containing the results, with the identifier as the name for each list element.

read_stats(file)

Arguments

file

Path to the tidy stats data file

Examples

results <- read_stats(system.file("results.json", package = "tidystats"))