View source: R/economic_activity_hierachy.R
hierarchy_code_level | R Documentation |
A function for enriching each of the codes from it's chosen level's code value
hierarchy_code_level(tbl_hierarchy, level_no, col_code = "code",
col_code_parent = "code_parent", col_layer_no = "layer_no")
tbl_hierarchy |
A data frame that should contain the entire NACE or SBI hierarchy. |
level_no |
The hierarchy level that you'd want to add the code of |
col_code |
The name of the column containing the NACE, SBI or SIC code. |
col_code_parent |
The name of the column that contains a NACE, SBI or SIC code that refers to the direct parent code. |
col_layer_no |
The name of the column that contains an integer indicating the hierarchy's level, 1 being the top level |
a data frame containing the original economic activity code and the new activity code
hierarchy_code_level(tbl_hierarchy, level_no = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.