parent_child: The parent or child of a person

child_ofR Documentation

The parent or child of a person

Description

This uses just "Son" and "Daughter" for the definition of child, and just "Mother" and "Father" for the definition of parent. For a more custom use of relationship codes, use related_to.

Usage

child_of(...)

parent_of(...)

Arguments

...

A discoveryengine definition of type entity_id, and/or individual entity ids

See Also

related_to

Examples

## finding the children of wealthy parents
is_wealthy = has_capacity(1:9) %or% has_implied_capacity(more, most)
child_of(is_wealthy)

## or the parents of wealthy children
parent_of(is_wealthy)

tarakc02/discoveryengine documentation built on Sept. 26, 2023, 12:17 a.m.