corp_hierarchy | R Documentation |
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.
corp_parent(...)
corp_subsidiary(...)
... |
one or more entity IDs, or disco engine definitions of type |
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).
works_at
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.