Package: cat2cat 0.4.7

cat2cat: Handling an Inconsistently Coded Categorical Variable in a Longitudinal Dataset

Unifying an inconsistently coded categorical variable between two different time points in accordance with a mapping table. The main rule is to replicate the observation if it could be assigned to a few categories. Then using frequencies or statistical methods to approximate the probabilities of being assigned to each of them. This procedure was invented and implemented in the paper by Nasinski, Majchrowska, and Broniatowska (2020) <doi:10.24425/cejeme.2020.134747>.

Authors:Maciej Nasinski [aut, cre]

cat2cat_0.4.7.tar.gz
cat2cat_0.4.7.zip(r-4.5)cat2cat_0.4.7.zip(r-4.4)cat2cat_0.4.7.zip(r-4.3)
cat2cat_0.4.7.tgz(r-4.4-any)cat2cat_0.4.7.tgz(r-4.3-any)
cat2cat_0.4.7.tar.gz(r-4.5-noble)cat2cat_0.4.7.tar.gz(r-4.4-noble)
cat2cat_0.4.7.tgz(r-4.4-emscripten)cat2cat_0.4.7.tgz(r-4.3-emscripten)
cat2cat.pdf |cat2cat.html
cat2cat/json (API)
NEWS

# Install 'cat2cat' in R:
install.packages('cat2cat', repos = c('https://polkas.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/polkas/cat2cat/issues

Datasets:
  • occup - Occupational dataset
  • occup_small - Occupational dataset - small one
  • trans - Trans dataset containing mappings (transitions) between old (2008) and new (2010) occupational codes. This table could be used to map encodings in both directions.
  • verticals - Verticals dataset
  • verticals2 - Verticals2 dataset

On CRAN:

categoriesencodingencodingsfactorlongitudinalmappingmappingspaneltransitions

11 exports 4 stars 1.34 score 1 dependencies 2 scripts 315 downloads

Last updated 8 months agofrom:6c4eb9f610. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 18 2024
R-4.5-winOKSep 18 2024
R-4.5-linuxOKSep 18 2024
R-4.4-winOKSep 18 2024
R-4.4-macOKSep 18 2024
R-4.3-winOKSep 18 2024
R-4.3-macOKSep 18 2024

Exports:cat_apply_freqcat2catcat2cat_aggcat2cat_ml_runcross_c2cdummy_c2cget_freqsget_mappingsplot_c2cprune_c2csummary_c2c

Dependencies:MASS

Get Started

Rendered fromcat2cat.Rmdusingknitr::rmarkdownon Sep 18 2024.

Last update: 2023-10-22
Started: 2022-03-10