pxweb (version 0.9.1)

pxweb_data_comments: Construct a pxweb_data_comments object.

Description

An object that contain the comments for a given PXWEB table.

Usage

pxweb_data_comments(x)

# S3 method for pxweb_data pxweb_data_comments(x)

Arguments

x

a pxweb_data object.

Value

a pxweb_data_comments object

Examples

Run this code
# NOT RUN {
url <- "http://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)

# }

Run the code above in your browser using DataLab