powered by
Compile a data file into a JavaScript file
compile_data(input, output = tempfile(), ...)
A character string; the path to the input file.
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))
Run the code above in your browser using DataLab