This is the MEDSL repository for precinct-level election returns. We periodically publish its contents to our Dataverse and website.
The 2016-precinct-* directories contain returns organized by office (as on Dataverse):
Returns by state are in the source directory. These are alternative partitions of the same data.
Added 2018-03-29.
- Party-line voting appears in the data as
officevalues ofStraight Partyandcandidatevalues of, for example,Alabama Republican Party. To calculate vote totals, sum the votes candidates' received on their own lines and from party-line voting.
Added 2018-03-11.
- Because EAVS data are unavailable for Alaska, the
county_identifiers for county-equivalents are missing.
Added 2018-05-09.
- Reporting counties were inconsistent in the use of accented characters. Candidate name spellings aren't entirely consistent.
- Returns from some counties do not yet give
districtvalues when office isState HouseorState Senate.
Added 2018-05-04.
- In the raw data, it seems that votes for unopposed candidates sometimes appear twice: once under a candidate's name and again in totals for all unopposed candidates. But these totals are slightly lower than the sum of votes for all unopposed candidates. We've dropped them.
Added 2018-04-09.
Added 2018-03-11.
Added 2018-03-11.
Added 2018-05-09.
Added 2018-03-11.
- Returns for the Council and Advisory Referendum can be found in the
statedataverse. Advisory Neighborhood Commission returns are in thelocaldataverse.
Added 2018-05-09.
Added 2018-04-23.
Added 2018-03-29.
- Kalawao County is the only county in Hawaii that doesn't appear as a
jurisdictionorcounty_name; it doesn't administer elections.
Added 2018-03-11.
- Idaho House and Senate returns were added 2018-06-12.
Added 2018-04-23.
- Illinois jurisdictions are counties, with the exception of these six cities:
Aurora, Bloomington, Chicago, Danville, East St. Louis, Galesburg, and
Rockford. We joined their returns with
county_identifiers by jurisdiction and precinct, using the jurisdiction given by theJurisContainerIDvariable in the source data.
Added 2018-06-05.
- Candidate names for lower office are not always consistent across counties.
Added 2018-04-23.
Added 2018-04-23.
Added 2018-04-23.
Added 2018-03-11.
- No elections to the Louisiana House or Senate were held in 2016.
Added 2018-05-09.
- County identifiers aren't yet available for all jurisdictions.
Added 2018-06-04.
Added 2018-03-29.
Added 2018-04-09.
- Note when aggregating over
precinctthe rows that represent "statistical adjustments."
Added 2018-03-29.
- Democratic candidate
partyvalues are left asDemocratic-Farmer-Labor.
Added 2018-05-09.
- In the current release, values of
districtare missing whereofficeisState House.
Added 2018-05-10.
- County identifiers are unavailable for Kansas City returns, which are reported
by the municipality. (The associated Census Place FIPS is
2938000.) In the future we may include sub-county and place identifiers.
Added 2018-05-10.
Added 2018-04-23.
- There are no returns for local races.
- Nebraska Legislature returns appear with an
officevalue ofState Senate.
Added 2018-04-23.
- Some jurisdictions suppressed returns from low-turnout precincts to preserve ballot secrecy. Details forthcoming.
Added 2018-05-10.
- State legislative returns are post-recount, and added 2018-06-12.
Added 2018-06-04.
- Candidate names for lower office are not always consistent across counties.
Added 2018-03-11.
Added 2018-04-23.
- Candidate names for lower office are not always consistent across counties.
Added 2018-03-29.
Added 2018-03-11.
Added 2018-04-23.
Added 2018-03-29.
- No general election was held for the first U.S. House district after Jim Bridenstine's opponent withdrew and left him unopposed.
Added 2018-04-09.
Added 2018-04-23.
Added 2018-03-29.
Added 2018-03-29.
- Party-line voting appears in the data as
officeandcandidatevalues ofStraight ticket. Compute candidates' vote totals as the sum of the votes they received on their own lines and from party-line voting.
Added 2018-04-09.
Added 2018-03-11.
- There are no returns for local races.
Added 2018-04-09.
- There are no returns for local races.
- Returns for uncontested races to the Texas House of Representatives do not appear in the data.
Added 2018-04-23.
Added 2018-04-09.
Added 2018-03-29.
Added 2018-04-09.
- King County results appear for now as county aggregates.
Added 2018-05-10.
- The data don't yet include write-in votes for president.
Added 2018-03-29.
- Presidential returns are post-recount.
Added 2018-03-11.
Datasets contain the following variables:
yearstatestate_postalstate_fipsstate_icpsrcounty_namecounty_ansicounty_fipscounty_latcounty_longjurisdictionprecinctofficedistrictstagespecialcandidatecandidate_lastcandidate_firstcandidate_middlecandidate_normalizedcandidate_fullcandidate_suffixcandidate_nicknamecandidate_feccandidate_fec_namecandidate_googlecandidate_govtrackcandidate_icpsrcandidate_maplightcandidate_opensecretscandidate_wikidatacandidate_partywriteinpartymodevotes
Year of election.
State name.
State U.S. Postal Service abbreviation (two-letter ISO 1366 code).
Numeric state FIPS 5-2 code.
Numeric ICPSR state code.
County name.
Source: Census Bureau National Counties Gazetteer File.
County ANSI code.
Source: Census Bureau National Counties Gazetteer File.
Numeric FIPS 6-4 code, the concatenation of two-digit state_fips and three-
digit county FIPS codes.
Source: Census Bureau National Counties Gazetteer File.
County latitude (decimal degrees).
Source: Census Bureau National Counties Gazetteer File.
County longitude (decimal degrees).
Source: Census Bureau National Counties Gazetteer File.
The name of the administrative jurisdiction, typically a county, as it appeared in source data.
Source: Precinct returns for jurisdiction.
The name of the precinct, as it appeared in source data.
Source: Precinct returns for jurisdiction.
The office for which the candidate ran.
Source: Precinct returns for jurisdiction.
District associated with the office, where applicable.
Source: Precinct returns for jurisdiction.
The electoral stage, either gen for general elections or pri for primary
elections.
Whether the election was a special election, either TRUE for special
elections or FALSE otherwise.
Source: Precinct returns for jurisdiction.
The name of the candidate.
Candidate names are standardized across jurisdictions.
Source: Precinct returns for jurisdiction.
Candidate's last name.
Source: The @unitedstates project.
Candidate's first name.
Source: The @unitedstates project.
Candidate's middle name.
Source: The @unitedstates project.
A normalizing transformation of the candidate's name for joins by name. This is
a single word from candidate, usually the last name, in lowercase. In the
case of hyphenated names, only the final name is included.
Source: MEDSL.
Candidate's official full name.
Source: The @unitedstates project.
Candidate name suffix.
Source: The @unitedstates project.
Candidate's nickname.
Source: The @unitedstates project.
Candidate's FEC
identifier. Multiple FEC
IDs appear concatenated, separated by a semicolon and space (; ).
Source: The @unitedstates project and FEC.
Candidate's name as it appears in FEC data.
Source: FEC.
Candidate's [Google Knowledge Graph](https://developers.google.com/knowledge- graph) entity identifier.
Source: The @unitedstates project.
Candidate's GovTrack.us identifier.
Source: The @unitedstates project.
Candidate's ICPSR identifier.
Source: The @unitedstates project.
Candidate's MapLight identifier.
Source: The @unitedstates project.
Candidate's OpenSecrets.org identifier.
Source: The @unitedstates project.
Candidate's WikiData identifier.
Source: The @unitedstates project.
Candidate's party affiliation. Values may differ from party, which gives the
candidate's party on the ballot.
Source: The @unitedstates project.
Whether the record describes a write-in candidate, either TRUE or FALSE.
Source: Precinct returns for jurisdiction.
Party of the candidate, where applicable. Candidates may run on multiple
party lines, so to compute two-party vote shares or candidate vote totals,
aggregate over party.
Party names are standardized across jurisdictions.
Source: Precinct returns for jurisdiction.
Vote mode, e.g., mail or Election Day.
Source: Precinct returns for jurisdiction.
Number of votes received.
Source: Precinct returns for jurisdiction.