writePreparedData | R Documentation |
Persist to disk a prepared data.frame and metadata
writePreparedData(data, metadata = attr(data, "metadata"), file)
data |
a data.frame that meets the Crunch API specification, as returned
by |
metadata |
list of Crunch metadata that corresponds to |
file |
character file path, without extension, to write to. |
A character vector of length 2: given a value of
file="example"
, it would return c("example.csv.gz", "example.json").
The function, of course, is called for its side effects of writing a gzipped
CSV and a JSON file to those locations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.