get_keyword_table_id {sgapi}R Documentation

Keyword Search of 'nomis'

Description

Function to return dataframe of all 'nomis' tables, and their corresponding codes and descriptions, which have the chosen keyword.

Usage

get_keyword_table_id(
  usr_keyword,
  base_url = "https://www.nomisweb.co.uk/api/v01"
)

Arguments

usr_keyword

Keyword to search 'nomis' tables for, e.g. "religion", "employment", "housing"

base_url

nomis url to query

Value

A tidy dataframe of all nomis tables and their ids, which contain the chosen keyword.

Examples

get_keyword_table_id(usr_keyword="passports")

[Package sgapi version 1.1.0 Index]