browseDataList: Browse a Catalogue Subset

View source: R/search.R

browseDataListR Documentation

Browse a Catalogue Subset

Description

Browse a Catalogue Subset.

Usage

browseDataList(subs)

Arguments

subs

An R expression evaluating to a logical scalar or a logical vector as long as the catalogue. Column names are available directly; use backticks for names containing spaces. Caller variables are also available. Available columns are listed under Details. Missing values in the result are treated as false.

Details

The predicate in subs can refer to these catalogue columns:

ShortCode

Unique, catalogue-resolved shorthand; missing for ambiguous tokens.

Dataset name

Dataset title; refer to it with backticks.

Code

Fully qualified agency, dataflow, version reference.

Agency

Maintaining agency identifier.

Dataflow

Complete dataflow identifier.

DataflowPrefix

Identifier namespace before @.

Version

Selected current structure version.

Type

Artefact type (normally dataset).

Last update of data

Source annotation for a data update, if present.

Last table structure change

Source annotation for a structure update.

Data start

Earliest period in source metadata, if reported.

Data end

Latest period in source metadata, if reported.

Description

Original OECD dataset description, which may contain HTML.

Link

URL to the dataset in OECD Data Explorer.

The HTML report escapes ordinary catalogue fields. The Description column retains only safe formatting elements (such as paragraphs, lists and emphasis) and HTTP(S) or mailto links; scripts, event handlers and other potentially unsafe markup are excluded. Link URLs include OECD Data Explorer's data-space selector. Browser opening is a print side effect restricted to interactive sessions and controlled by open_browser. Assignment does not launch a browser. The expression is ordinary R code and should not be accepted from untrusted users.

Value

A list with criteria, time, df, and html, with class BrowsedOECDDatasetList.

See Also

find, importDataList

Examples

if (interactive()) {
browseDataList(grepl("employment", `Dataset name`, ignore.case = TRUE))
pattern <- "GDP|gross domestic"
browseDataList(grepl(pattern, `Dataset name`, ignore.case = TRUE))
}

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