Creating Correspondence Tables Between Two Statistical Classifications

A candidate correspondence table between two classifications can be created when there are correspondence tables leading from the first classification to the second one via intermediate 'pivot' classifications. The correspondence table between two statistical classifications can be updated when one of the classifications gets updated to a new version.


last commit R buildstatus dependencies CRAN version CRAN status license weekly downloads monthly downloads all downloads

CorrespondenceTables

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.

Installation

'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)

Background

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.

Content

The package contains 11 functions:

  1. 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.

  2. updateCorrespondenceTable to update the correspondence table between two statistical classifications when one of the classifications gets updated to a new version.

  3. prefixList Create a list of prefixes for both CELLAR and FAO repositories.

  4. correspondenceTableList Overview of all the available correspondence classification from CELLAR and FAO repository.

  5. dataStructure Retrieve information about the structure of each classification tables from CELLAR and FAO repositories.

  6. classificationList Retrieve a list of classification tables from CELLAR and FAO repositories or both.

  7. retrieveClassificationTable Retrieve stastistical classification tables from CELLAR and FAO repositories.

  8. retrieveCorrespondenceTable Retrieve correspondence tables between statistical classifications from CELLAR and FAO repositories.

  9. classificationQC performs quality control checks on statistical classifications.

  10. analyseCorrespondanceTable performs analysis on correspondence tables.

  11. aggregateCorrespondenceTable aggregates correspondence tables to higher hierarchical levels.

Examples

For the examples see the vignettes.

browseVignettes("correspondenceTables")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("correspondenceTables")

1.0.2 by Mátyás Mészáros, 5 months ago


https://github.com/eurostat/correspondenceTables


Report a bug at https://github.com/eurostat/correspondenceTables/issues


Browse source code at https://github.com/cran/correspondenceTables


Authors: Vasilis Chasiotis [aut] (Department of Statistics , Athens University of Economics and Business) , Photis Stavropoulos [aut] (Quantos S.A. Statistics and Information Systems) , Martin Karlberg [aut] , Mátyás Mészáros [cre] , Martina Patone [aut] , Erkand Muraku [aut] , Clement Thomas [aut] , Loic Bienvenu [aut] , Mauro Baldacchini [aut] , Khadija Sossey-Lallemand [aut] , Mark van der Loo [aut]


Documentation:   PDF Manual  


EUPL license


Imports data.table, httr, stringr, igraph

Suggests knitr, rmarkdown, tinytest


See at CRAN