Learn R Programming

pxweb (version 0.5.3)

get_pxweb_dims: Get data dimensions form a bottom node in a PX-Web/PC-Axis API

Description

Deparse and reorder data form the metadata object for pretty output

Usage

get_pxweb_dims(node, verbose = TRUE)

Arguments

node
Bottom node to deparse into object
verbose
Verbose output mode.

See Also

get_pxweb_metadata

Examples

Run this code
# Download meta data
bottom_node <- get_pxweb_metadata("http://api.scb.se/OV0104/v1/doris/sv/ssd/AM/AM0114/LCIArbKv")

# Get dimensions (names of dimensions are printed in the terminal)
dims <- get_pxweb_dims(bottom_node)

Run the code above in your browser using DataLab