The goal of rethnicity is to provide a method to predict ethnicity from names of people.
I created this package hoping to help applied researchers on their studies regarding ethnic bias and discrimination, and potentially eliminate the racial and ethnic disparities. By using this package, you AGREE to the following:
Again, you should use the package responsibly and please refer to the methodology paper for details.
The complete description of the methodology is on arXiv and published on SoftwareX and please cite it as:
I recommend using the wonderful package manager pak
to install this package:
# first install `pak` if not yet installed
# install.packages("pak")
# install the CRAN version
pak::pkg_install("rethnicity")
# or install the Github development version
pak::pkg_install("fangzhou-xie/rethnicity")
Of course, you can also install the package in the old way: install the released version of rethnicity from CRAN with:
install.packages("rethnicity")
Or the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("fangzhou-xie/rethnicity")
There is a vignette that discusses how to use this package.
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
This license was chosen to prohibit commercial usage, while still being free and accessible for non-commercial academic uses.