Learn R Programming

harmonizer (version 0.3.2)

pc8_to_bec: concordance list between PC8 and BEC

Description

Provides a dataframe which contains all PC8 product codes and related BEC codes in the demanded time period.

Usage

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

Value

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

VariableExplanation
PC8character; a specific PC8 code
HS6character; provides the HS6 classification of the PC8plus 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 PC8 product codes. Provided by history_matrix_pc8().

progress

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

Examples

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

Run the code above in your browser using DataLab