def get_body_from_race(race):
    """
    Returns a body from a given race Id. (e.g. "TX-04" returns "house").
    """
    if race.endswith("sen") or race.endswith("sen-special"):
        return "senate"
    if race.endswith("gov"):
        return "governor"
    else:
        return "house"