Learn R Programming

harmonizer (version 0.3.2)

cn8_to_bec: Concordance list between CN8 and BEC

Description

Provides a dataframe which contains all CN8 product codes and related BEC codes in a given time period.

Usage

cn8_to_bec(b, e, historymatrix = NULL, progress = TRUE)

Value

A data frame that contains all CN8 product codes and related BEC and HS6 codes in a given time period. The following table offers an overview of all provided variables.

VariableExplanation
CN8character; a specific CN8 code
HS6character; provides the HS6 classification of the CN8plus code
BECcharacter; provides the BEC classification on a high aggregation level (1 digit)
BEC_agrcharacter; provides the BEC classification on a lower aggregation level (up to 3 digits)

Arguments

b

first year of interest

e

last year of interest

historymatrix

History matrix of CN8 product codes. Provided by history_matrix_cn8().

progress

logical, determines whether progress is printed in console or not.

Examples

Run this code
# \donttest{
cn8_bec <- cn8_to_bec(b = 2008, e = 2010)
# }

Run the code above in your browser using DataLab