Skip to content

Functions for creating or updating correspondence tables between two statistical classifications

Notifications You must be signed in to change notification settings

bienvel/correspondenceTables

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

last commit R build status 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. CorrespondenceList 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. classificationEndpoint 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")

About

Functions for creating or updating correspondence tables between two statistical classifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 74.6%
  • R 25.4%