You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
statewide_offices = ['President/Vice President', 'United States Senator', 'Supreme Court', 'Court of Appeals']
district_offices = ['United States Representative', 'State Board of Education', 'Regent of the University of Colorado', 'State Senate', 'State Representative', 'District Attorney', 'Regional Transportation District']
results = []
with open('2016GeneralResultsPrecinctLevel.csv', 'rU') as csvfile:
reader = csv.DictReader(csvfile)
for row in reader:
if any(office in row['Office/Issue/Judgeship'] for office in statewide_offices):