pc8_to_bec: concordance list between PC8 and BEC

View source: R/pc8_to_bec.R

pc8_to_becR Documentation

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)

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.

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.

Variable Explanation
PC8 character; a specific PC8 code
HS6 character; provides the HS6 classification of the PC8plus code
BEC character; provides the BEC classification on a high aggregation level (1 digit)
BEC_agr character; provides the BEC classification on a lower aggregation level (up to 3 digits)

Examples


pc8_bec <- pc8_to_bec(b = 2008, e = 2010)


harmonizer documentation built on Feb. 16, 2023, 6:18 p.m.