Description Usage Arguments Examples
df2json
Convert a dataframe to JSON
1
df2json(df)
df
input dataframe object
1 2 3
library(df2json) df <- data.frame(name=c("a", "b", "c"), x=c(NA, 2 ,3), y=c(10, 20, -Inf), show=c(TRUE, FALSE, TRUE)) df2json(df)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.