Learn R Programming

nomisdata (version 0.1.1)

get_codes: Get Concept Codes

Description

Get Concept Codes

Usage

get_codes(id, concept = NULL, type = NULL, search = NULL, ...)

Value

Tibble with codes and descriptions

Arguments

id

Dataset ID (required)

concept

Concept name (e.g., "geography", "sex"). If NULL, returns all concepts.

type

Optional type filter

search

Search term (supports wildcards)

...

Additional query parameters

Examples

Run this code
# \donttest{
get_codes("NM_1_1")

get_codes("NM_1_1", "geography")

get_codes("NM_1_1", "geography", "TYPE499")

get_codes("NM_1_1", "geography", search = "*manchester*")
# }

Run the code above in your browser using DataLab