View source: R/assets-to_json.R
compile_data | R Documentation |
Compile a data file into a JavaScript file
compile_data(input, output = tempfile(), ...)
input |
A character string; the path to the input file. |
output |
A character string; the path to the output file. |
... |
Extra arguments to be passed to to_json. |
file <- system.file("test_files/test_csv.csv", package = "sketch")
readLines(compile_data(file))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.