Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 4.21 KB

File metadata and controls

7 lines (4 loc) · 4.21 KB

CDF ERR Export

The full election tally reports can be exported as JSON Election Results Reporting CDF results. The feature is only available for the full election results and not grouped or filtered results. The export follows the CDF specification without extensions. The CDF fields are used as follows:

CDF AttributeUsage
ElectionReport.FormatFixed to "summary-contest"
ElectionReport.IsTesttrue or false depending on whether VxAdmin was in test ballot mode
ElectionReport.SequenceStartFixed to 1
ElectionReport.SequenceEndFixed to 1
ElectionReport.GeneratedDateThe generated timestamp of the report
ElectionReport.IssuerThe county name
ElectionReport.IssuerAbbreviationThe county identifier formatted as an NCName ID
ElectionReport.VendorApplicationId"VxAdmin, version <code version>" where code version is the software version of the system e.g. "v4"
ElectionReport.StatusIf the election has been marked as official in VxAdmin, "certified", otherwise "unofficial-complete"
Party.@idThe party identifier
Party.NameThe short name of the party e.g. "Libertarian"
Party.AbbreviationThe party abbreviation e.g. "L"
Election.StartDateThe date of the election
Election.EndDateThe date of the election
Election.NameThe title of the election
Election.ElectionScopeIdThe state name formatted as an NCName ID
Election.TypeEither "general" or "primary"
BallotCounts.TypeFixed to "total"
BallotCounts.GpUnitIdThe county identifier formatted as an NCName ID
BallotCounts.BallotsCastThe total ballot count for the election
Candidate.@idThe candidate identifier formatted as an NCName ID
Candidate.PartyIdThe candidate's party identifier formatted as an NCName ID
Candidate.BallotNameThe candidate's name as it appears on the ballot in English
Contest.@idThe contest identifier formatted as an NCName ID
Contest.NameThe contest title
Contest.ElectionDistrictIdThe district identifier of the contest's associated district formatted as an NCName ID
ContestSelection.@idThe option identifier formatted as an NCName ID
BallotMeasureSelection.SelectionThe option label as it appears on the ballot in English
CandidateSelection.IsWriteIntrue or false depending on whether the candidate is a write-in candidate
VoteCounts.CountThe vote count for the specific contest selection
VoteCounts.TypeFixed to "total"
VoteCounts.GpUnitIdThe district identifier of the contest's associated district formatted as an NCName ID
OtherCounts.OvervotesThe overvote count
OtherCounts.UndervotesThe undervote count
OtherCounts.GpUnitIdThe district identifier of the contest's associated district formatted as an NCName ID
GpUnit.@idThe county, state, or district identifier formatted as an NCName ID
GpUnit.NameThe county, state, or district name
GpUnit.Type"state", "county", or for districts, "other"
GpUnit.ComposingGpUnitIds
  • State: only the county identifier
  • County: all district identifiers

The Election Results Reporting CDF requires that identifiers be in NCName ID format, so all identifiers from the election definition are re-formatted to be compliant. For example, "Sample County" becomes "vx_sample-county".