# A simple example, assuming there is a file called 'statistics.json'
if (FALSE) {
statistics <- read_stats("statistics.json")
}
# A working example
statistics <- read_stats(
file = system.file("statistics.json", package = "tidystats")
)
Run the code above in your browser using DataLab