crunchbase_expand_section: Expand a section of a node detail

Description Usage Arguments Examples

View source: R/expand-section.R

Description

Node details include numerous sections. For instance, an organization record may include a "current team" section. These sections will only include the first 8 records in the section, along with a path to the full collection. This function calls crunchbase_get_collection to pull the entire collection.

Usage

1
crunchbase_expand_section(node, relationship, ...)

Arguments

node

a downloaded node, or multiple nodes as returned by crunchbase_get_details

relationship

character: the name(s) of the section(s) to expand - vectors with length longer than 1 are treated as multiple sections to expand

...

other arguments passed to crunchbase_get_collection

Examples

1
2
crunchbase_get_details("organization/facebook") %>%
    crunchbase_expand_section("current_team")

gwcottle/rcrunchbase documentation built on Jan. 25, 2021, 2:40 a.m.