to_json | R Documentation |
Encode R objects as JSON. Wrapper around jsonlite::toJSON
with
default parameters set to following values:
dataframe = 'columns', auto_unbox = unbox, null = 'null', na = 'null'
.
to_json(x, unbox = TRUE)
x |
the object to be encoded |
unbox |
|
JSON string
to_json(NULL)
to_json(list(name = "value"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.