50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

FinNet (version 0.1.2)

find.people: Extract all the unique people associated to at least one of the provided firm objects

Description

Extract all the unique people associated to at least one of the provided firm objects

Usage

find.people(..., who = c("managers", "owners", "both", "all"), sorting = TRUE)

Value

A vector containing the names of the individuals looked up. If

Arguments

...

Either multiple objects of class firm or a list of such objects

who

Whether to extract the 'managers' or the 'owners' (minimum unambiguous string)

sorting

Whether to sort the people by alphabetical order. Defaults to TRUE

Author

Telarico, Fabio Ashtar

Examples

Run this code
# Find all the shareholders in companies that Berkshire Hathaway holds
data('firms_BKB')
shareholders <- find.people(firms_BKB, who = 'own')

# Find all those managing the companies that Berkshire Hathaway holds
data('firms_BKB')
managers <- find.people(firms_BKB, who = 'man')

Run the code above in your browser using DataLab