pred_fl_reg_ln: Last name classifier based on Florida Voter Registration Data

Description Usage Arguments Value Examples

View source: R/census_ln.R

Description

Uses a validated ML model that uses bi- and tri-char tokens in the last name to predict probability that the person is white, black, asian, and hispanic. For more information see https://github.com/soodoku/ethnicolor/tree/master/data-raw/fl_voter_reg

Usage

1
pred_fl_reg_ln(surname = NULL)

Arguments

surname

required; string; vector of surnames

Value

data.frame with original list and predicted probability the person is white, Asian, black, and hispanic.

Examples

1
pred_fl_reg_ln(surname = "Smith")

soodoku/ethnicolor documentation built on May 30, 2019, 6:28 a.m.