R/get_childCodeIds.R
, R/get_descendentCodeIds.R
get_childCodeIds.Rd
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.
get_childCodeIds(
x,
parentCodeId,
returnNodes = FALSE,
includeParentCode = FALSE
)
get_descendentCodeIds(x, parentCodeId, includeParentCode = FALSE)
The parsed sources object
The code identifier of the parent code
For get_childCodeIds()
, set this to TRUE
to return
a list of nodes, not just the code identifiers.
Whether to include the parent code identifier in the result
A character vector with code identifiers (or a list of nodes)