Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

predict ethnicity from names

NotificationsYou must be signed in to change notification settings

fangzhou-xie/rethnicity

Repository files navigation

CRAN checksR build status

The goal of rethnicity is to provide a method to predict ethnicity fromnames of people.

WARNING!

I created this package hoping to help applied researchers on theirstudies regarding ethnic bias and discrimination, and potentiallyeliminate the racial and ethnic disparities. By using this package, youAGREE to the following:

  1. Youunderstand that the method cannot make predictions 100%correct, and you should be cautious about the results.
  2. Youwill NOT use this package for purposes other than academicresearch.
  3. Youwill NOT disclose the predicted ethnic group to the public,given the names data you might have.
  4. Youwill NOT discriminate anyone on the basis of race and color,by using the methods provided by this package.
  5. Youwill not use the information to study individuals, butrather to study populations in the aggregate.

Again, you should use the package responsibly and please refer to themethodology paper for details.

Documentation on Methodology

The complete description of the methodology is onarXiv and published onSoftwareX and please citeit as:

@article{xie2022,  title = {Rethnicity: {{An R}} Package for Predicting Ethnicity from Names},  shorttitle = {Rethnicity},  author = {Xie, Fangzhou},  year = {2022},  month = jan,  journal = {SoftwareX},  volume = {17},  pages = {100965},  issn = {2352-7110},  doi = {10.1016/j.softx.2021.100965},}

Installation

I recommend using the wonderful package managerpak to install this package:

# first install `pak` if not yet installed# install.packages("pak")# install the CRAN versionpak::pkg_install("rethnicity")# or install the Github development versionpak::pkg_install("fangzhou-xie/rethnicity")

Of course, you can also install the package in the old way: install thereleased version of rethnicity fromCRANwith:

install.packages("rethnicity")

Or the development version fromGitHub with:

# install.packages("devtools")devtools::install_github("fangzhou-xie/rethnicity")

How to use this package?

There is avignettethat discusses how to use this package.

License

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 InternationalLicense.

This license was chosen to prohibit commercial usage, while still beingfree and accessible for non-commercial academic uses.

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp