Other Entities

This page provide additional information on other entities in your elections data.

Collections

Use this entity to encapsulate other entities. The table below shows each entity and its associated collection wrapper entity:

Collection Entity Entity
VoteCountsCollection VoteCounts
BallotStyleCollection BallotStyle
CandidateCollection Candidate
ContestCollection Contest
GpUnitCollection GpUnit
OfficeCollection Office
PartyCollection Party
PersonCollection Person

Examples

XML

    <VoteCountsCollection>
      <VoteCounts>
        <GpUnitId>ru0081</GpUnitId>
        <Type>election-day</Type>
        <Count>2716</Count>
      </VoteCounts>
      <VoteCounts>
        <GpUnitId>ru0081</GpUnitId>
        <Type>absentee</Type>
        <Count>16</Count>
      </VoteCounts>
    </VoteCountsCollection>

JSON

    "VoteCountsCollection": [
      {
        "VoteCounts": [
          {
            "GpUnitId": "ru0081",
            "Type": "election-day",
            "Count": "2716"
          },
          {
            "GpUnitId": "ru0081",
            "Type": "absentee",
            "Count": "16"
          }
        ]
      }
    ]