as.OECDDataList: Coerce a Data Frame to an OECD Catalogue

View source: R/search.R

as.OECDDataListR Documentation

Coerce a Data Frame to an OECD Catalogue

Description

Attach the OECD catalogue class and a descriptive search caption.

Usage

as.OECDDataList(x, SearchCriteria = "", ...)

Arguments

x

A data frame containing Code, Dataset name and Link.

SearchCriteria

A single descriptive string attached to the report.

...

Reserved for future extensions; currently unused.

Details

Other columns are preserved. No network access occurs.

Value

An independent data frame with classes OECDDataList and data.frame.

See Also

importDataList

Examples

x <- data.frame(Code = "TEST,DEMO,1.0", `Dataset name` = "Synthetic demo",
                Link = "https://example.invalid/", check.names = FALSE)
y <- as.OECDDataList(x, SearchCriteria = "offline example")
inherits(y, "OECDDataList")

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