electiondata icon indicating copy to clipboard operation
electiondata copied to clipboard

Standardize congressional district when there is only one

Open sfsinger19103 opened this issue 5 years ago • 0 comments

In the Office.txt file, some states (e.g. Alaska) call the single congressional district reporting unit, e.g., US House AK District 1. Others (e.g., Wyoming) call this same reporting unit Wyoming.

This affects the Contest Type dropdown on the Explore Top Outliers page, and the Count 1 and Count 2 dropdowns on the Compare Counts page. Under the hood, the issue is that this Contest Type is derived from the ReportingUnitType of the district given in Office.txt.

So, although it's inelegant to have two different names -- with two different reporting unit types -- for the same reporting unit, it's probably best to standardize all of these to US House XX District 1, especially if we want to do nationwide analyses of congressional contests.

sfsinger19103 avatar Feb 24 '21 02:02 sfsinger19103