| write_ndjson_raw | R Documentation |
For list input, each element of the list is written as a single JSON string.
For data.frame input, each row of the data.frame is written
as aJSON string.
write_ndjson_raw(x, opts = list(), ...)
x |
|
opts |
Named list of serialization options. Usually created by |
... |
Other named options can be used to override any options in |
Raw vector containing NDJSON character data
Other JSON Serializer:
write_json_file(),
write_json_raw(),
write_json_str(),
write_ndjson_file(),
write_ndjson_str()
js <- write_ndjson_raw(head(mtcars))
js
read_ndjson_raw(js, 'list')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.