The only required parameter is name which is the surname you want to find the race of. Please note that this parameter only accepts surnames, including both first and last name will result in not finding a match in the Census data.

This function accepts a single string or a vector of strings.

If you only want the most likely race and not the individual probabilities of each race, set the parameter probability to FALSE.