Empowering the seamless creation and refinement of correspondence tables between two statistical classifications, such as NACE, CPA, CN, and more. This toolkit not only streamlines the process of generating and updating these tables but also provides functionality for retrieving classification and correspondence tables. It includes features for conducting quality control on classifications and offers a comprehensive analysis of correspondence tables with the ability to aggregate them effectively.
‘correspondenceTables’ can be installed from CRAN by
install.packages("correspondenceTables")or use the development version from GitHub
devtools::install_github("eurostat/correspondenceTables", build_vignettes = TRUE)This package serves as a tool to assist you in creating and updating a correspondence table between two classifications, such as NACE, CPA, CN, and others. It enables the retrieval of classification tables and correspondence tables. Additionally, it facilitates quality control on a classification and allows for the analysis and aggregation of correspondence tables.
The package contains 11 functions:
newCorrespondenceTable to create a candidate
correspondence table between two classifications when there are
correspondence tables leading from the first classification to the
second one via intermediate ‘pivot’ classifications.
updateCorrespondenceTable to update the
correspondence table between two statistical classifications when one of
the classifications gets updated to a new version.
prefixList Create a list of prefixes for both CELLAR
and FAO repositories.
correspondenceTableList Overview of all the
available correspondence classification from CELLAR and FAO
repository.
dataStructure Retrieve information about the
structure of each classification tables from CELLAR and FAO
repositories.
classificationList Retrieve a list of classification
tables from CELLAR and FAO repositories or both.
retrieveClassificationTable Retrieve stastistical
classification tables from CELLAR and FAO repositories.
retrieveCorrespondenceTable Retrieve correspondence
tables between statistical classifications from CELLAR and FAO
repositories.
classificationQC performs quality control checks on
statistical classifications.
analyseCorrespondanceTable performs analysis on
correspondence tables.
aggregateCorrespondenceTable aggregates
correspondence tables to higher hierarchical levels.
For the examples see the vignettes.
browseVignettes("correspondenceTables")