View source: R/eurostat_tools.R
convert_NACErev2_to_tree | R Documentation |
Converts a data.frame with NACE rev2 classification to a hierarchical data.tree. Currently only supports until 2nd level (e.g. A03, C11, ...)
convert_NACErev2_to_tree(x, code)
x |
a data.frame |
code |
character: column name with NACE rev2 codes (need to be in the form A, B, ..., A01, C13, C10-12, C10_C11, ...) |
a data.tree object with all columns of x as attributes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.