| browseDataList | R Documentation |
Browse a Catalogue Subset.
browseDataList(subs)
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. |
The predicate in subs can refer to these catalogue columns:
ShortCodeUnique, catalogue-resolved shorthand; missing for ambiguous tokens.
Dataset nameDataset title; refer to it with backticks.
CodeFully qualified agency, dataflow, version reference.
AgencyMaintaining agency identifier.
DataflowComplete dataflow identifier.
DataflowPrefixIdentifier namespace before @.
VersionSelected current structure version.
TypeArtefact type (normally dataset).
Last update of dataSource annotation for a data update, if present.
Last table structure changeSource annotation for a structure update.
Data startEarliest period in source metadata, if reported.
Data endLatest period in source metadata, if reported.
DescriptionOriginal OECD dataset description, which may contain HTML.
LinkURL 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.
A list with criteria, time, df, and html, with
class BrowsedOECDDatasetList.
find, importDataList
if (interactive()) {
browseDataList(grepl("employment", `Dataset name`, ignore.case = TRUE))
pattern <- "GDP|gross domestic"
browseDataList(grepl(pattern, `Dataset name`, ignore.case = TRUE))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.