Description Usage Arguments Value See Also Examples
Given a data frame, converts each row to a JSON blob and returns the results
in a list, to make it easier to iteratively validate data with
check_schema_df()
.
1 |
df |
A data frame |
A list of JSON blobs
check_schema
1 2 3 4 5 6 | if (requireNamespace("jsonlite", quietly = TRUE)) {
dat <- data.frame(
x = c(NA, 1L)
)
df_to_json_list(dat)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.