Information retrieval from Statistics Norway API

ssbAPI(dataset, curl = NULL)

Value

A data frame converted from JSON-Stat format

Details

Retrieve information from Statistics Norway API in JSON-Stat format.

Examples

# NOT RUN {
req.uri <- "http://data.ssb.no/api/v0/dataset/44631.json?lang=en"
data.df <- rjstat::fromJSONstat(x = req.uri)

## convert to xts object, e.g. for use in \code{dygraphs} package
data.xts <- pxwebDFtoXTS(data = data.df)
# }