nomis_overview {nomisr}R Documentation

Nomis dataset overview

Description

Returns an overview of available metadata for a given dataset.

Usage

nomis_overview(id, select = NULL)

Arguments

id

The ID of the particular dataset. Returns no data if not specified.

select

A string or character vector of one or more overview parts to select, excluding all others. select is not case sensitive. The options for select are described below, and are taken from the Nomis API help page.

Value

A tibble with two columns, one a character vector with the name of the metadata category, and the other a list column of values for each category.

Overview part options

DatasetInfo

General dataset information such as name, description, sub-description, mnemonic, restricted access and status

Coverage

Shows the geographic coverage of the main geography dimension in this dataset (e.g. United Kingdom, England and Wales etc.)

Keywords

The keywords allocated to the dataset

Units

The units of measure supported by the dataset

ContentTypes

The classifications allocated to this dataset

DateMetadata

Information about the first release, last update and next update

Contact

Details for the point of contact for this dataset

Analyses

Show the available analysis breakdowns of this dataset

Dimensions

Individual dimension information (e.g. sex, geography, date, etc.)

Dimension-concept

Allows a specific dimension to be selected (e.g. dimension-geography would allow information about geography dimension). This is not used if "Dimensions" is specified too.

Codes

Full list of selectable codes, excluding Geography, which as a list of Types instead. (Requires "Dimensions" to be selected too)

Codes-concept

Full list of selectable codes for a specific dimension, excluding Geography, which as a list of Types instead. This is not used if "Codes" is specified too (Requires "Dimensions" or equivalent to be selected too)

DimensionMetadata

Any available metadata attached at the dimensional level (Requires "Dimensions" or equivalent to be selected too)

Make

Information about whether user defined codes can be created with the MAKE parameter when querying data (Requires "Dimensions" or equivalent to be selected too)

DatasetMetadata

Metadata attached at the dataset level

See Also

nomis_data_info()

nomis_get_metadata()

Examples


library(dplyr)

q <- nomis_overview("NM_1650_1")

q %>%
  tidyr::unnest(name) %>%
  glimpse()

s <- nomis_overview("NM_1650_1", select = c("Units", "Keywords"))

s %>%
  tidyr::unnest(name) %>%
  glimpse()



[Package nomisr version 0.4.7 Index]