Package: gendercoder 0.1.1

Yaoxiang Li

gendercoder: Recodes Sex/Gender Descriptions into a Standard Set

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.

Authors:Yaoxiang Li [aut, cre], Jennifer Beaudry [aut], Emily Kothe [aut], Felix Singleton Thorn [aut], Rhydwyn McGuire [aut], Nicholas Tierney [aut], Mathew Ling [aut], Julia Silge [rev], Elin Waring [rev]

gendercoder_0.1.1.tar.gz
gendercoder_0.1.1.zip(r-4.7)gendercoder_0.1.1.zip(r-4.6)gendercoder_0.1.1.zip(r-4.5)
gendercoder_0.1.1.tgz(r-4.6-any)gendercoder_0.1.1.tgz(r-4.5-any)
gendercoder_0.1.1.tar.gz(r-4.7-any)gendercoder_0.1.1.tar.gz(r-4.6-any)
gendercoder_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
gendercoder/json (API)

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

Reviews:rOpenSci Software Review #435

Bug tracker:https://github.com/ropensci/gendercoder/issues

Pkgdown/docs site:https://docs.ropensci.org

Datasets:

On CRAN:

Conda:

gender-diversityozunconf18unconf

7.83 score 47 stars 66 scripts 352 downloads 3 exports 0 dependencies

Last updated from:79e8851e13 (on master). Checks:10 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK121
pkgdown docsOK211
source / vignettesOK155
linux-release-x86_64OK117
macos-release-arm64OK101
macos-oldrel-arm64OK117
windows-develOK74
windows-releaseOK74
windows-oldrelOK62
wasm-releaseOK106

Exports:gender_create_dictionarygendercoder_apprecode_gender

Dependencies:

Adding to the dictionary
Outline | Making it official

Last update: 2026-05-12
Started: 2021-10-11

Introduction to gendercoder
Installation | Why would we do this? | Motivating example | Options within the function | dictionary | retain_unmatched | A disclaimer on handling gender responses | Contributing to this package | Acknowledgement of Country

Last update: 2026-05-12
Started: 2021-10-11