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.
Examples
results <- read_stats(system.file("results.json", package = "tidystats"))