Select names from all races

select_names_all(pct_correct = 0.8, order_by_var = NULL, n_names = 5)

Arguments

pct_correct

The names' threshold rate of being correctly perceived as a particular race. The default value is 0.8

order_by_var

The variable to be used to order the list of the names to be extracted. The default variable is NULL (non-selected). The other options are pct_correct = the percentage of the name's intended race correctly perceived, avg_income = average perceived income level, avg_education = average perceived education level, and avg_citizenship_guess = the percentage of perceived citizenship status

n_names

The number of the names to be selected. The default number is 5.

Value

The dataset that contains the list of the selected names. first = first name, last = last name, w.asian = westernized Asian name (1 = yes, 0 = no), name (full name), identity (the name's intended race), pct_correct = the percentage of the name's intended race correctly perceived, avg_income = average perceived income level, avg_education = average perceived education level, avg_citizenship_guess = the percentage of perceived citizenship status