getDataFromCubePidCoordAndLatestNPeriods: Get changed series data

Description Usage Arguments Value Examples

View source: R/data-access.R

Description

Get changed series data given a product ID and coordinate

Usage

1
getDataFromCubePidCoordAndLatestNPeriods(productId, coordinate, latestN)

Arguments

productId

Product Identification number (PID) is a unique product identifier for all Statistics Canada products, including large multidimensional tables. The first two digits refer to a subject, the next two digits refer to product type, the last four digits refer to the product itself.

coordinate

Coordinate is a concatenation of the member ID values for each dimension. One value per dimension. (i.e. "1.3.1.1.1.1.0.0.0.0" ) A table PID number combined with a coordinate will identify a unique time series of data points.

latestN

Number of periods to return, starting from the most recent available data point.

Value

An httr response object

Examples

1
2
3
4
## Not run: 
getDataFromCubePidCoordAndLatestNPeriods(35100003, "1.12.0.0.0.0.0.0.0.0", 10)

## End(Not run)

tweed1e/statcanopener documentation built on Jan. 19, 2021, 4:23 p.m.