Learn R Programming

FinNet (version 0.1.2)

Quickly Build and Manipulate Financial Networks

Description

Providing classes, methods, and functions to deal with financial networks. Users can easily store information about both physical and legal persons by using pre-made classes that are studied for integration with scraping packages such as 'rvest' and 'RSelenium'. Moreover, the package assists in creating various types of financial networks depending on the type of relation between its units depending on the relation under scrutiny (ownership, board interlocks, etc.), the desired tie type (valued or binary), and renders them in the most common formats (adjacency matrix, incidence matrix, edge list, 'igraph', 'network').

Copy Link

Version

Install

install.packages('FinNet')

Monthly Downloads

624

Version

0.1.2

License

GPL (>= 3)

Maintainer

Fabio Ashtar Telarico

Last Published

August 10th, 2023

Functions in FinNet (0.1.2)

FF.norm.both

Create a complete normalised-valued firm-firm (FF) matrix
FF.norm.management

Create a normalised-valued firm-firm (FF) matrix for boards interlocks
FM

Function to create a (necessarily binary) firm-manager (FM) matrix
FF.norm.ownership

Create a normalised-valued firm-firm (FF) matrix for common ownership
FF.naive.management

Create a naive-valued firm-firm (FF) matrix for boards interlocks
FF.net.custom

Represent a firm-firm (FF) network using the package network
FF.graph.custom

Represent a firm-firm (FF) network using the package igraph
FF.naive.both

Create a complete naive-valued firm-firm (FF) matrix
FF.net

Easily represent a firm-firm (FF) network using the package network
FF.naive.ownership

Create a naive-valued firm-firm (FF) matrix for common ownership
FO.norm

Function to create a naive-valued firm-owner (FO) matrix
as.firm.financial_matrix

Coerce a financial_matrix object into a list of firm objects
as.firm

Coerce into (a list of) firm object(s)
FO.naive

Function to create a naive-valued firm-owner (FO) matrix
check.against.other.slots

Determine if all the non-NA slots of a financial_matrix object are of a given length
check.correct.grey

Function to check whether the provided colour is actually a shade of grey and correct it if necessary
as.firm,financial_matrix-method

Coerce a financial_matrix object into a list of firm objects
add.attribute

Function to set a vertex or edge attribute of a network or graph object
Matrix&matrix

A (virtual) class union for matrix-like objects to be included in financial_matrix
FO.binary

Function to create a binary firm-owner (FO) matrix
find.firms

Function to create mutiple firms (legal persons) using data from 'Yahoo! Finance'
financial_net

firm

A firm
igraph_E_iterators

igraph edge iterators for igraph_financial objects
get.net

Create any firm-firm (FF) network
find.firm

Function to create a firm (legal person) using data from 'Yahoo! Finance'
get.binarary.values

Function to compute the binary values of the FM or FO matrix for multiple firm objects
graph_methods

Extending igraph functions to igraph_financial objects
igraph_financial

igraph_v_iterators

igraph vertex iterators for igraph_financial objects
get.matrix.adjacency

Create any firm-firm (FF) matrix for common ownership or board interlocks
print,network_financial-method

Print information on a network_financial object
firms_US

Three US firms
firms_BKB

Complete Berkshire Hathaway Portfolio
naming

Function to extract the symbols of the objects passed as ...
print_financial_matrix

Print information on a financial_matrix
listing

Function to list multiple objects passed as ...
network_financial

find.people

Extract all the unique people associated to at least one of the provided firm objects
is.neither.null.nor.na

Function to check whether an object is neither NA nor NULL
is.null.na

Function to check whether an object is NA or NULL
palette

Function to create the default palette and ramp it up as needed
query.firms

Function to extract information from multiple firm object (legal person)
query.firm

Function to extract information from a firm object (legal person)
print,firm-method

Print information on a class firm object
show,igraph_financial-method

Show information on a igraph_financial
show_igraph_financial

Show information on a igraph_financial
.set_names

Function to return an object after assigning new names
get.matrix.adjacency.both

Create a firm-firm (FF) matrix
register.firm

Function to create a firm (legal person)
plot_igraph-methods

igraph plotting for igraph_financial objects
show_network_financial

Show information on a network_financial
show,network_financial-method

Show information on a network_financial
rescale.numeric

Function to rescale numeric vectors
get.matrix.twomode

Function to create a firm-owner (FO) or firm-manager (FM) matrix
financial_matrix

An S4 class for the adjacency matrix produced by FF and related functions to represent the relations between firms (legal person)
query.firms.dataframe

Function to extract information from multiple firm object (legal person) as a data frame
print,financial_matrix-method

Print information on a financial_matrix
show_firm

Show information on a class firm object
query.firms_switch

Function to chose the right algorithm when querying one or more information over multiple firm objects
show,firm-method

Show information on a firm
print,igraph_financial-method

Print information on a igraph_financial object
subset_financial_matrix

Subset a financial_matrix object
show,financial_matrix-method

Show information on a financial_matrix
FF-subset-method

Method to subset a financial_matrix
FF-comparison-methods

Basic method to check to compare values in a financial_matrix object
FF.graph

Easily represent a firm-firm (FF) network using the package igraph
FF

Create any firm-firm (FF) matrix
FF.binary.ownership

Create a binary firm-firm (FF) matrix for common ownership
FF-nrow-ncol

Number of rows/columns in a financial_matrix object
FF.binary.both

Create a complete binary firm-firm (FF) matrix
FF.binary.management

Create a binary firm-firm (FF) matrix for board interlocks
FF-math-methods

Mathematical methods for financial_matrix objects
FF-basic-methods

Basic methods for objects of class financial_matrix