Provides dictionary-based tools for recoding free-text gender responses into consistent categories while preserving gender diversity where possible. The package standardises spelling, capitalization, whitespace, and common variants through curated named character-vector dictionaries, supports either detailed or collapsed output categories, and can retain original unmatched responses for manual review. It also includes helpers for creating custom dictionaries from approximate string matches and a local interactive application for recoding uploaded data files.
| Version: | 0.1.1 |
| Depends: | R (≥ 3.0.0) |
| Suggests: | knitr, rmarkdown, bs4Dash, haven, shiny |
| Published: | 2026-05-18 |
| DOI: | 10.32614/CRAN.package.gendercoder (may not be active yet) |
| Author: | Yaoxiang Li |
| Maintainer: | Yaoxiang Li <liyaoxiang at outlook.com> |
| BugReports: | https://github.com/ropensci/gendercoder/issues |
| License: | GPL-2 |
| URL: | https://github.com/ropensci/gendercoder |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | gendercoder results |
| Reference manual: | gendercoder.html , gendercoder.pdf |
| Vignettes: |
Introduction to gendercoder (source, R code) Adding to the dictionary (source, R code) |
| Package source: | gendercoder_0.1.1.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=gendercoder to link to this page.