pxweb_query_as_json | R Documentation |
pxweb_query
object to a json
stringConvert a pxweb_query
object to a json
string
pxweb_query_as_json(pxq, ...)
pxq |
a |
... |
further argument to |
pxweb_query
, pxweb_query_as_rcode
json_query <- file.path(
system.file(package = "pxweb"),
"extdata", "examples", "json_query_example.json"
)
pxq <- pxweb_query(json_query)
json <- pxweb_query_as_json(pxq, pretty = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.