split_NACE_combinations: Disaggregate Correspondence table with combined NACErev2...

View source: R/eurostat_tools.R

split_NACE_combinationsR Documentation

Disaggregate Correspondence table with combined NACErev2 sectors

Description

Disaggregate Correspondence table with combined NACErev2 sectors

Usage

split_NACE_combinations(x, col)

Arguments

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

Details

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)


simschul/my.utils documentation built on June 29, 2023, 6:50 a.m.