Learn R Programming

pxweb (version 0.19.2)

pxweb_data_v2: Construct a pragmatic pxweb_data_v2 object.

Description

A thin wrapper around PXWEB API v2 JSON-stat2 data. The original response is kept as-is while data-frame coercion is provided through as.data.frame().

Usage

pxweb_data_v2(x)

Value

a pxweb_data_v2 object.

Arguments

x

a list returned from a PXWEB API v2 data endpoint.