Learn R Programming

sgapi (version 1.0.3)

get_table_dimensions: Table Dimensions

Description

Extract dimensions available for a given 'nomis' table ID. e.g. the dimensions of the table 'RM011 - Country of birth by age ' are age, country and geography; this function will return all of the available age, country and geography filters available on the table.

Usage

get_table_dimensions(id)

Value

A tidy dataframe of the dimensions, and available filtering values, of your chosen 'nomis' table.

Arguments

id

A table ID recognised by 'nomis' (e.g "NM_1_1").

Examples

Run this code
get_table_dimensions(id="NM_1240_1")

Run the code above in your browser using DataLab