history_matrix_pc8 {harmonizer}R Documentation

History matrix of PC8 product codes

Description

Provides a dataframe which contains all PC8 product codes and their history in a given time period.

Usage

history_matrix_pc8(b, e, progress = TRUE)

Arguments

b

first year of interest

e

last year of interest

progress

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

Value

A data frame that contains all PC8 product codes and their history over time for the demanded time period. This dataset is the basis for the main function harmonize_pc8() and can be obtained therewith as well. The following table offers an overview of all provided variables.

Variable Explanation
PC8_xxxx character; a specific PC8 code in a given year
flag numeric; integer from 0 to 3; 1 indicates that this code remained the same in notation over the whole time period but was split or merged in addition; 2 indicates that this code is either new or was dropped during the period of interest
flagyear numeric; indicates the first year in which the flag was set

Examples


history <-  history_matrix_pc8(b = 2008, e = 2010)


[Package harmonizer version 0.3.2 Index]