get_structure {sgapi}R Documentation

Extract 'nomis' Table Data for Chosen Dimension

Description

Retrieve dataset for a valid 'nomis' table id and dimension. This extracts all of the available instances of the chosen dimension, which can then be used to filter the 'nomis' table.

Usage

get_structure(id, dim)

Arguments

id

A valid 'nomis' id.

dim

The name of the g which dimension is queried.

Value

An object with JSON structure for the chosen dimension of the selected 'nomis' table.

Examples

get_structure(id="NM_187_1",dim="industry")

[Package sgapi version 1.0.2 Index]