Skip to content

cat2cat

Handling an Inconsistently Coded Categorical Variable in a Longitudinal Dataset

v0.4.7 · Jan 22, 2024 · GPL (>= 2) | file LICENSE

Description

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

Downloads

319

Last 30 days

12351st

887

Last 90 days

3.2K

Last year

Trend: -2.5% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies MASS cat2cat

Version History

new 0.4.7 Mar 10, 2026
updated 0.4.7 ← 0.4.6 diff Jan 21, 2024
updated 0.4.6 ← 0.4.5 diff Jan 31, 2023
updated 0.4.5 ← 0.4.4 diff Sep 24, 2022
updated 0.4.4 ← 0.4.2 diff Aug 30, 2022
updated 0.4.2 ← 0.4.1 diff Aug 4, 2022
updated 0.4.1 ← 0.3.3 diff Jun 7, 2022
updated 0.3.3 ← 0.3.1 diff Mar 10, 2022
updated 0.3.1 ← 0.2.1 diff Feb 5, 2022
updated 0.2.1 ← 0.2.0 diff Mar 26, 2021
updated 0.2.0 ← 0.1.7 diff Dec 7, 2020
updated 0.1.7 ← 0.1.3 diff Nov 28, 2020
new 0.1.3 Sep 21, 2020