pxweb_validate_query_with_metadata | R Documentation |
pxweb_query
with a pxweb_metadata
objectValidate a pxweb_query
with a pxweb_metadata
object
pxweb_validate_query_with_metadata(pxq, pxmd)
pxq |
a |
pxmd |
a |
Validate a query with a metadata object to asses that the query can be used to query the table.
## Not run:
url <- "https://api.scb.se/OV0104/v1/doris/sv/ssd/BE/BE0101/BE0101A/BefolkningNy"
json_query <- file.path(
system.file(package = "pxweb"),
"extdata", "examples", "json_query_example.json"
)
pxq <- pxweb_query(json_query)
pxweb_validate_query_with_metadata(pxq, pxweb_get(url))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.