Skip to content

categoryEncodings

1.4.3Package record

Category Variable Encodings

0packages depend
3Kdownloads / year
96.2%test coverage
11/13flavors OK

Overview

About

Simple, fast, and automatic encodings for category data using a data.table backend. Most of the methods are an implementation of "Sufficient Representation for Categorical Variables" by Johannemann, Hadad, Athey, Wager (2019) arXiv:1908.09874, particularly their mean, sparse principal component analysis, low rank representation, and multinomial logit encodings.

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Juraj Szitas <szitas.juraj13@gmail.com>’

The Description field contains
  Hadad, Athey, Wager (2019) <arXiv:1908.09874>, particularly their mean,
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

CRAN check page ↗

Slowest check: 1.8 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.4.3
READMEYes · 231 wordsVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
12
Examples that run
100%12 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3K
CRAN downloads in the past year
Rank #14,563 · ~8/day · ~247/mo
Daily download trend is not available in this view yet.
27130 days
82690 days
3K1 year
Compare downloads with other packages →
Also on88 r2u3 autocran

Repository

3Stars
1Forks
3Open issues
0Open PRs
0Releases
71Commits
1Commit identities
categorical-variablesfeature-encodingfeature-engineeringrr-package
71 commits · Last activity 2021-09-25 · Default branch at 1.5.0, ahead of CRAN 1.4.3 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
293
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2021-09-08 · 32026-07-07 · 3
PracticesBeta

6 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/jszitas/categoryencodings on 2026-10-21.

Continuous integration (3)
GitHub ActionsR CMD check workflowAppVeyor

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting (Codecov)
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing categoryEncodings adds 9 packages (4 with compiled code, 16 MB of source tarballs). Heaviest: data.table 5.7 MB, rsvd 3.3 MB, glmnet 2.7 MB.

Depends (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 1.4.3 (2020)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.4.3Latest
    2020-03-02 · current release
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-03-02
Total releases
1 / 6 yrs
License
GPL-3 OSI
Download size
10 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("categoryEncodings")
Szitas, J. (2020). categoryEncodings: Category Variable Encodings (Version 1.4.3) [Computer software]. https://doi.org/10.32614/CRAN.package.categoryEncodings

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for categoryEncodings version 1.4.3 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy