| oecdQuery | R Documentation |
Construct an Encoded OECD Data Request.
oecdQuery(OECDDatasetCode, filters = NULL)
OECDDatasetCode |
A catalogue-resolved short code such as |
filters |
Same named filter list as importData, including its optional
reserved |
This can fetch structural metadata but never downloads observations. V2 uses named component constraints with encoded comma-OR and plus-AND operators. V1 uses positionally ordered keys and start/end period parameters. Reserved literal filter characters are rejected. The URL alone does not include the HTTP Accept header; send the attached Accept value when inspecting it with another client.
A character URL with attributes Accept, RequestedDatasetCode and OECDDatasetCode.
The URL contains an exact resolved structure version.
importData, oecdOptions
if (interactive()) {
q <- oecdQuery("CLI",
list(REF_AREA = "USA", TIME_PERIOD = c("2023-01", "2023-12")))
cat(q)
attr(q, "Accept")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.