get_category_names: Find code and display names belonging to a given category

View source: R/fct_language.R

get_category_namesR Documentation

Find code and display names belonging to a given category

Description

The categories are defined in the display_names.csv file. If language is undefined, only code names will be returned. If a language is also supplied, then the corresponding display names are set as the names of the vector of code names.

Usage

get_category_names(category, language = NULL)

Arguments

category

The category (e.g. "variable_name") to find the names for

language

(optional) The language of the display names

Value

A vector of code names. If language was supplied, the display names corresponding to the code names will be the names of the vector.


Ottis1/fieldactivity documentation built on Nov. 21, 2022, 2:23 p.m.