orm_dict_add_category: Add a new risk category to a dictionary

View source: R/orm_dict.R

orm_dict_add_categoryR Documentation

Add a new risk category to a dictionary

Description

Add a new risk category to a dictionary

Usage

orm_dict_add_category(
  dict,
  key,
  label_en,
  label_es,
  terms,
  worker_exposure_terms = character(0),
  taxonomy = "user",
  block = "G - Custom"
)

Arguments

dict

An orisma_dict object.

key

Character. Short identifier (no spaces).

label_en

Character. Category name in English.

label_es

Character. Category name in Spanish.

terms

Character vector. Search terms.

worker_exposure_terms

Character vector. Worker exposure indicators.

taxonomy

Character. Source taxonomy label.

block

Character. Block label (e.g. "A - Safety").

Value

Updated orisma_dict.


orisma documentation built on May 19, 2026, 1:07 a.m.