def race_from_string(str):
    """Convert race to one of ['white', 'black', None]."""
    race_dict = {
        "White/Caucasian": 'white',
        "Black/African American": 'black',
        "Unknown": None,
        "": None
    }
    return race_dict.get(str, 'other')