compile_datacompile_dataR DocumentationCompile a data file into a JavaScript file#Description#Compile a data file into a JavaScript fileUsage#compile_data(input, output = tempfile(), ...)CopyArguments#inputA character string; the path to the input file.outputA character string; the path to the output file....Extra arguments to be passed to to_json.Examples#file <- system.file("test_files/test_csv.csv", package = "sketch")readLines(compile_data(file))Copy