add_child_nodes: Traverse hierarchical code dictionary

View source: R/ProcessdfDefinitions.R

add_child_nodesR Documentation

Traverse hierarchical code dictionary

Description

Given a hierchical dictionary, identify all children codes under the input parent code.

Usage

add_child_nodes(dfcode, codeVct)

Arguments

dfcode

hierarchical tree-structured code dictionary with at least columns "coding","selectable","node" and "parent".

codeVct

Input code as character vector

Value

All selectable codes (input code inclusive) as character vector


niekverw/ukbpheno documentation built on Oct. 30, 2023, 9:17 p.m.