get_childCodeIds {rock} | R Documentation |
Get the code identifiers a code's descendents
Description
Get the code identifiers of all children, or all descendents (i.e. including grand-children, grand-grand-children, etc) of a code with a given identifier.
Usage
get_childCodeIds(
x,
parentCodeId,
returnNodes = FALSE,
includeParentCode = FALSE
)
get_descendentCodeIds(x, parentCodeId, includeParentCode = FALSE)
Arguments
x |
The parsed sources object |
parentCodeId |
The code identifier of the parent code |
returnNodes |
For |
includeParentCode |
Whether to include the parent code identifier in the result |
Value
A character vector with code identifiers (or a list of nodes)
[Package rock version 0.8.1 Index]