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:
-
newCorrespondenceTableto 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. -
updateCorrespondenceTableto update the correspondence table between two statistical classifications when one of the classifications gets updated to a new version. -
prefixListCreate a list of prefixes for both CELLAR and FAO repositories. -
CorrespondenceListOverview of all the available correspondence classification from CELLAR and FAO repository. -
dataStructureRetrieve information about the structure of each classification tables from CELLAR and FAO repositories. -
classificationEndpointRetrieve a list of classification tables from CELLAR and FAO repositories or both. -
retrieveClassificationTableRetrieve stastistical classification tables from CELLAR and FAO repositories. -
retrieveCorrespondenceTable.Retrieve correspondence tables between statistical classifications from CELLAR and FAO repositories. -
classificationQCperforms quality control checks on statistical classifications. -
analyseCorrespondancetableperforms analysis on correspondence tables. -
aggregateCorrespondenceTableaggregates correspondence tables to higher hierarchical levels.
For the examples see the vignettes.
browseVignettes("correspondenceTables")