Learn R Programming

tidystats (version 0.5)

read_stats: Read a .json file that was produced with write_stats

Description

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.

Usage

read_stats(file)

Arguments

file

Path to the tidy stats data file

Examples

Run this code
# NOT RUN {
results <- read_stats(system.file("results.json", package = "tidystats"))

# }

Run the code above in your browser using DataLab