Search for a Dataset
ons_search(id, edition = NULL, version = NULL, name = NULL, query = NULL)
[character]
Id that represents a dataset.
[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.
[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.
[character]
. The name of dimension to perform the query. Available dimensions for
a specific id at ons_dim()
.
[character]
. The query.
A data.frame.
# \donttest{
ons_dim("cpih01")
#> [1] "aggregate" "geography" "time"
ons_search("cpih01", name = "aggregate", query = "cpih1dim1A0")
#> NULL
# }