recode_holding_codes: Determine holding SBI replacement

View source: R/company_hierarchy.R

recode_holding_codesR Documentation

Determine holding SBI replacement

Description

Determine holding SBI replacement

Usage

recode_holding_codes(graph, name_activity_code, vec_holding_codes)

Arguments

graph

A graph with the company hierarchy

name_activity_code

The name of the value attribute that contains the economic activity code

vec_holding_codes

A vector of codes that represent holdings

Value

A graph where all the nodes contain aggregated value

Examples

graph <- recode_holding_codes(graph, name_activity_code = "code_sbi", vec_holding_codes = c("64", "642", "6420"))

mark-me/graydon.package documentation built on Nov. 14, 2023, 5:31 p.m.