add_code_to_theme {textAnnotatoR}R Documentation

Add code to theme in hierarchy

Description

Adds a new code to a specific theme in the code hierarchy. The code can be added to the root level or nested within existing themes.

Usage

add_code_to_theme(node, code_name, theme_path, description = "")

Arguments

node

Root node of the hierarchy tree

code_name

Character string specifying the name of the code to add

theme_path

Character vector specifying the path to the target theme

description

Optional character string providing a description of the code

Value

Updated node with new code added


[Package textAnnotatoR version 0.1.4 Index]