Nothing
#' Convert object to json
#'
#' @param x an object to convert.
#'
#' @keywords internal
pxweb_as_json <- function(x) {
UseMethod("pxweb_as_json")
}
#' @rdname pxweb_as_json
#' @keywords internal
pxweb_as_json.pxweb_query <- function(x) {
for (i in seq_along(x$query)) {
x$query[[i]]$selection$values <- as.list(x$query[[i]]$selection$values)
}
jsonlite::toJSON(x, auto_unbox = TRUE)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.