corp_hierarchy: Get the parent/subsidiary corporation(s) associated with...

corp_hierarchyR Documentation

Get the parent/subsidiary corporation(s) associated with corporate entity ID(s)

Description

Every corporate record is included as its own own parent and subsidiary, including standalone corporate records (where there is no additional hierarchy). Otherwise, parent/subsidiary records will match what you see in the corporate hierarchy screen in CADS. Person records do not have corporate parents or subsidiaries.

Usage

corp_parent(...)

corp_subsidiary(...)

Arguments

...

one or more entity IDs, or disco engine definitions of type entity_id

Note

If you want to display a definition that includes corporate records, be sure to include the argument include_organizations = TRUE, because organization records are excluded by default (along with deceased records) when using display (see examples).

See Also

works_at

Examples

# general mills is the parent record of annie's homegrown:
corp_parent(3038697)

# can enter multiple IDs
corp_subsidiary(2090340, 2000407)

# can also enter other definitions
# this just gets me back to 2090340
google = corp_parent(corp_subsidiary(2090340))

# note that i have to use include_organizations = TRUE when displaying
display(google, include_organizations = TRUE)


cwolfsonseeley/discoveryengine documentation built on Sept. 30, 2023, 2:07 p.m.