Skip to content

Race and Ethnicity based on name using data from census, voter reg. files, etc.

License

Notifications You must be signed in to change notification settings

appeler/ethnicolor

Repository files navigation

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.

About

Race and Ethnicity based on name using data from census, voter reg. files, etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages