View source: R/pxweb_data_comments.R
pxweb_data_comments | R Documentation |
pxweb_data_comments
object.An object that contain the comments for a given PXWEB table.
pxweb_data_comments(x)
## S3 method for class 'pxweb_data'
pxweb_data_comments(x)
x |
a |
a pxweb_data_comments
object
## Not run:
url <- "https://api.scb.se/OV0104/v1/doris/en/ssd/BE/BE0101/BE0101A/BefolkningNy"
json_query <-
file.path(system.file(package = "pxweb"), "extdata", "examples", "json_query_example.json")
pxd <- pxweb_get(url = url, query = json_query)
pxdcs <- pxweb_data_comments(x = pxd)
pxdc_df <- as.data.frame(pxdcs, stringsAsFactors = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.