# NOT RUN {
# Read all JSON in a directory
path_directory <- system.file("extdata/json", package = "shinylogs")
logs <- read_json_logs(path = path_directory)
# Read a single file
single_file <- dir(
path = system.file("extdata/json", package = "shinylogs"),
full.names = TRUE
)[1]
logs <- read_json_logs(path = single_file)
# }
Run the code above in your browser using DataLab