ons_search: Search for a Dataset

View source: R/05-search.R

ons_searchR Documentation

Description

Search for a Dataset

Usage

ons_search(id, edition = NULL, version = NULL, name = NULL, query = NULL)

Arguments

id

⁠[character]⁠ Id that represents a dataset.

edition

⁠[character]⁠ A subset of the dataset representing a specific time period. For some datasets this edition can contain all time periods (all historical data). The latest version of this is displayed by default.

version

⁠[character]⁠ A specific instance of the edition at a point in time. New versions can be published as a result of corrections, revisions or new data becoming available.

name

⁠[character]⁠. The name of dimension to perform the query. Available dimensions for a specific id at ons_dim().

query

⁠[character]⁠. The query.

Value

A data.frame.

Examples


ons_dim("cpih01")
ons_search("cpih01", name = "aggregate", query = "cpih1dim1A0")


onsr documentation built on May 29, 2024, 2:50 a.m.