CDF ERR Export
Last updated
Last updated
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 Attribute | Usage |
---|---|
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".
ElectionReport.Format
Fixed to "summary-contest"
ElectionReport.IsTest
true
or false
depending on whether VxAdmin was in test ballot mode
ElectionReport.SequenceStart
Fixed to 1
ElectionReport.SequenceEnd
Fixed to 1
ElectionReport.GeneratedDate
The generated timestamp of the report
ElectionReport.Issuer
The county name
ElectionReport.IssuerAbbreviation
The 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.Status
If the election has been marked as official in VxAdmin, "certified", otherwise "unofficial-complete"
Party.@id
The party identifier
Party.Name
The short name of the party e.g. "Libertarian"
Party.Abbreviation
The party abbreviation e.g. "L"
Election.StartDate
The date of the election
Election.EndDate
The date of the election
Election.Name
The title of the election
Election.ElectionScopeId
The state name formatted as an NCName ID
Election.Type
Either "general" or "primary"
BallotCounts.Type
Fixed to "total"
BallotCounts.GpUnitId
The county identifier formatted as an NCName ID
BallotCounts.BallotsCast
The total ballot count for the election
Candidate.@id
The candidate identifier formatted as an NCName ID
Candidate.PartyId
The candidate's party identifier formatted as an NCName ID
Candidate.BallotName
The candidate's name as it appears on the ballot in English
Contest.@id
The contest identifier formatted as an NCName ID
Contest.Name
The contest title
Contest.ElectionDistrictId
The district identifier of the contest's associated district formatted as an NCName ID
ContestSelection.@id
The option identifier formatted as an NCName ID
BallotMeasureSelection.Selection
The option label as it appears on the ballot in English
CandidateSelection.IsWriteIn
true
or false
depending on whether the candidate is a write-in candidate
VoteCounts.Count
The vote count for the specific contest selection
VoteCounts.Type
Fixed to "total"
VoteCounts.GpUnitId
The district identifier of the contest's associated district formatted as an NCName ID
OtherCounts.Overvotes
The overvote count
OtherCounts.Undervotes
The undervote count
OtherCounts.GpUnitId
The district identifier of the contest's associated district formatted as an NCName ID
GpUnit.@id
The county, state, or district identifier formatted as an NCName ID
GpUnit.Name
The county, state, or district name
GpUnit.Type
"state", "county", or for districts, "other"
GpUnit.ComposingGpUnitIds
State: only the county identifier
County: all district identifiers