Race and Ethnicity based on name using data from census, voter reg. files, etc.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
data-raw
docs
inst
man
tests
vignettes
.Rbuildignore
.gitignore
.lintr
.travis.yml
DESCRIPTION
LICENSE
NAMESPACE
README.md
appveyor.yml

README.md

ethnicolor: Impute Race and Ethnicity Based on Name

Build Status CRAN_Status_Badge codecov

Data

The data are from:

Included Models for Imputing Race

  • census_ln will simply append data from the 2000 and 2010 census. For some mild processing that underlies it, see here.
  • pred_census_ln exposes a model based off Florida Voter Registration Last Name Data. For details, see here
  • pred_fl_reg_ln exposes a model built using Florida Voter Registration data. Utilizes only the surname. For details, see here
  • pred_fl_reg_ln exposes a model built using Florida Voter Registration data. Utilizes the first name, middle name (if there), last name, and suffix (if there). For details, see here

Installation

To get the current development version from GitHub:

# install.packages("devtools")
devtools::install_github("soodoku/ethnicolor")

Related Information

For Python package that provides roughly the same functionality, see ethnicolr.

License

Scripts are released under the MIT License.

Contributor Code of Conduct

The project welcomes contributions from everyone! In fact, it depends on it. To maintain this welcoming atmosphere, and to collaborate in a fun and productive way, we expect contributors to the project to abide by the Contributor Code of Conduct.