Description Usage Arguments Value Examples
Read a directory containing JSON logs
1 | read_json_logs(path)
|
path |
Path of the directory containing JSON files or a vector of path to JSON files. |
a list of data.table
1 2 3 4 5 6 7 8 9 10 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.