View source: R/eurostat_tools.R
split_NACE_combinations | R Documentation |
Disaggregate Correspondence table with combined NACErev2 sectors
split_NACE_combinations(x, col)
x |
a correspondence table (data.table in long format, 2 columns only) where either the source or the target classification include NACErev2 codes that are a combination of several categories. |
col |
numeric: where to find the column with NACErev2 combinations |
Combinations of sectors can either have the form C10_C11 (type underscore) or C10-C13 (type bar).
_ implies 'and' (C10_C11 = C10 and C11) - implies 'from to' (C10-C13 = C10, C11, C12, C13)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.