importDataList: Import the Current OECD Dataflow Catalogue

View source: R/structure.R

importDataListR Documentation

Import the Current OECD Dataflow Catalogue

Description

Retrieve dataset titles, readable codes and canonical identities.

Usage

importDataList()

Details

There is one current structure version per agency/dataflow identity. Code is the fully qualified reference with that version. ShortCode is a compact, catalogue-resolved shorthand, or missing when another identity could match the same token. It is a package convenience, not an official global OECD alias. DataflowPrefix is the namespace before @, or missing when that delimiter is absent. See oecdDataset for matching rules.

No artificial hierarchy columns are supplied. Timestamps and period bounds are populated only when recognized source annotations supply them; other values remain missing. A retrieval time is not a last-data-update time.

The catalogue belongs to the configured base_url. Its printable HTML report escapes ordinary cells and renders a restricted, safe subset of HTML from OECD descriptions. Dataset links include the OECD Data Explorer space selector df[ds]=dsDisseminateFinalDMZ. Printing opens a browser only in an interactive session with open_browser = TRUE.

Value

A data frame with classes OECDDataList and data.frame. Columns are ShortCode, Dataset name, Code, Agency, Dataflow, DataflowPrefix, Version, Type, Last update of data, Last table structure change, Data start, Data end, Description, and Link.

See Also

find, browseDataList, as.OECDDataList, oecdDataset

Examples

if (interactive()) {
catalogue <- importDataList()
head(catalogue[c("ShortCode", "Dataset name", "Code")])
}

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