convert2json | R Documentation |
Convert data to json by R class
.convert2json(x, ...) ## S3 method for class 'character' .convert2json(x) ## S3 method for class 'numeric' .convert2json(x) ## S3 method for class 'integer' .convert2json(x) ## S3 method for class 'logical' .convert2json(x) ## S3 method for class 'list' .convert2json(x, raw = c(), byElement = FALSE, skipNa = TRUE) ## S3 method for class 'data.frame' .convert2json(x, raw = c(), skipNa = TRUE)
x |
data element |
raw |
character; names of columns not to format (e.g. because it is already converted) |
character; json
Internal function only for convenience
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.