def _year_to_decade(yr):
    """
    A simple function so I don't mess this up later, this constructs the *redistricting*
    decade of a district. This is offset from the regular decade a year is in by two.
    """
    return (yr - 2) - (yr - 2) % 10