pxweb (version 0.9.1)

clean_pxweb: Clean raw data from PX-WEB

Description

This function clean the raw data from PX-WEB to R tall format.

Usage

clean_pxweb(data2clean, url, dims, content_node = NULL)

Arguments

data2clean

Data to clean.

url

url to the bottom nod (to get meta data)

dims

dimension of the api-call

content_node

node with content downloaded with get_pxweb_metadata. If NULL, meta data is downloaded with get_pxweb_metadata.

Value

data frame melted and in R (numeric) format