def validate(self, values):
        gazetteer = set()
        with open(join(GAZDIR,'school_dists.csv'), 'rb') as f:
            reader = csv.reader(f)
            for row in reader:
                gazetteer.add(row[0].lower())
        values = set([v.split(',')[0].lower() for v in values if v])
        if values <= gazetteer:
            return True, None
        else:
            diffs = values - gazetteer
            return False, u'"{0}" do not appear to be valid School Districts'\
                .format(u', '.join(diffs))
Uses the US Census 2014 Elementary, Secondary and Unified
dataset/ETHPy150Open associatedpress/geomancer/geomancer/mancers/geotype.py/SchoolDistrict.validate