ons_search {onsr}R Documentation

Search for a Dataset

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")


[Package onsr version 1.0.2 Index]