write_ndjson_str | 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_str(x, opts = list(), ...)
x |
|
opts |
Named list of serialization options. Usually created by |
... |
Other named options can be used to override any options in |
String containing multiple JSON strings separated by newlines.
Other JSON Serializer:
write_json_file()
,
write_json_str()
,
write_ndjson_file()
write_ndjson_str(head(mtcars))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.