create_graph: Create Network Graph

Description Usage Arguments Value

Description

A function for creating a network graph from a statement of interest in the form of a dataframe.

Usage

1
create_graph(statement_of_interest = statement, root_nodes = NA)

Arguments

statement_of_interest

A dataframe of the statement of interest, often generated from a call to find_statement. Must have the column names parent and child.

root_nodes

A character vector of element names to place at the highest level of the graph. This function increases the root_nodes display size.

Value

An igraph object from the list of edges in the statement dataframe


bradwest-wk/xbrlr documentation built on May 8, 2019, 11:43 a.m.