oecdStructure: Inspect the Resolved OECD Structure

View source: R/structure.R

oecdStructureR Documentation

Inspect the Resolved OECD Structure

Description

Inspect the Resolved OECD Structure.

Usage

oecdStructure(OECDDatasetCode)

Arguments

OECDDatasetCode

A catalogue-resolved short code such as "CLI", a terminal ID such as "DF_CLI", a complete dataflow ID such as "DSD_STES@DF_CLI", or a qualified reference "OECD.SDD.STES,DSD_STES@DF_CLI" with an optional numeric version. Short codes are accepted only when resolution is unambiguous. An omitted version, "latest" or "+" selects the latest stable structure. See oecdDataset for resolution rules.

Details

This makes a metadata request, not an observation download. The referenced DSD and its dictionaries are resolved by full identity, not XML document order. Only structures with a single observation measure are supported. The dictionary and observed marginal availability are separate elements. Inspect the latter's status and explanation before interpreting it as coverage.

Value

An OECDStructure list with flow, dsd, dimensions, attributes, measure, labels, available, availability, and availability_reason. The flow includes its resolved agency, identifier, version, title, description and canonical code. The dsd entry records the resolved DSD agency, identifier and version. Component tables include ID, label, kind, position and codelist reference. Download time and source URL are attributes.

See Also

oecdQuery, importData

Examples

if (interactive()) {
s <- oecdStructure("CLI")
s$flow
s$dimensions
s$labels$REF_AREA
s$availability
}

OECDdata documentation built on Oct. 31, 2026, 1:07 a.m.