Package: rethnicity 0.2.7

rethnicity: Predicting Ethnic Group from Names

Implementation of the race/ethnicity prediction method, described in "rethnicity: An R package for predicting ethnicity from names" by Fangzhou Xie (2022) <doi:10.1016/j.softx.2021.100965> and "Rethnicity: Predicting Ethnicity from Names" by Fangzhou Xie (2021) <doi:10.48550/arXiv.2109.09228>.

Authors:Fangzhou Xie [aut, cre, cph]

rethnicity_0.2.7.tar.gz
rethnicity_0.2.7.zip(r-4.7)rethnicity_0.2.7.zip(r-4.6)rethnicity_0.2.7.zip(r-4.5)
rethnicity_0.2.7.tgz(r-4.6-x86_64)rethnicity_0.2.7.tgz(r-4.6-arm64)rethnicity_0.2.7.tgz(r-4.5-x86_64)rethnicity_0.2.7.tgz(r-4.5-arm64)
rethnicity_0.2.7.tar.gz(r-4.7-arm64)rethnicity_0.2.7.tar.gz(r-4.7-x86_64)rethnicity_0.2.7.tar.gz(r-4.6-arm64)rethnicity_0.2.7.tar.gz(r-4.6-x86_64)
rethnicity_0.2.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
rethnicity/json (API)

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

Bug tracker:https://github.com/fangzhou-xie/rethnicity/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

ethnicity-classifierethnicity-predictionlstmcpp

5.51 score 13 stars 25 scripts 324 downloads 4 exports 5 dependencies

Last updated from:adcd265206. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK146
linux-devel-x86_64OK144
source / vignettesOK206
linux-release-arm64OK861
linux-release-x86_64OK146
macos-release-arm64OK131
macos-release-x86_64OK310
macos-oldrel-arm64OK112
macos-oldrel-x86_64OK425
windows-develOK187
windows-releaseOK141
windows-oldrelOK153
wasm-releaseOK124

Exports:citationpredict_ethnicitypredict_fullnamepredict_lastname

Dependencies:cliRcppRcppEigenRcppThreadrlang

Introduction to rethnicity package
WARNING! | Getting to use the package in 5 minutes | I want to predict race/ethnicity from last names! | What if I have both first names and last names? | What if I have multiple names? | Wait. I want to predict a million names! | FAQ | How did you train the models? | How did you create the package with Keras models? | What is the difference between fullname model vs. lastname model? | What about the performance of the package?

Last update: 2025-03-12
Started: 2021-09-05

Using Customized Models
Design of the Package | Usage on Customized Models | Train the model in Keras | Convert the Model to .json | Predict with Your Own Model

Last update: 2022-05-31
Started: 2021-11-23