Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

 In this section

Historical Data

While the election is primarily about the new results, being able to compare the incoming results with past results creates very compelling content. To be able to do the analysis with previous results the system needs to know the previous results. If you are starting with a blank slate and do not have a full set of previous results you can still fill in some summary data to give you some of the analysis results.

Review Your Historical Data

Be sure to review the historical data you have to make sure it's accurate and complete so the analysis based on it will be correct.

Notes

Party Codes

Party codes (abbreviations) need to be consistent across election dates.

Required Data For...

Everything

For any of the historical data analysis methods used you will need:

  1. Previous election party records
  2. Previous candidates with vote counts.
  3. Dissolution party records

Depending on the data available to you, the candidates can be a complete list or single candidate-per-party summary value.


Note: when you see a checkmark (✔) in a table cell in the sections below it means you need records but there aren't any specific required values for the calculation beyond their connections to each other (candidates, parties, ridings).

When you see a specific field name like Seats or Votes then it's important that the records have correct values for those fields in addition to the their connections to each other.

Overall Party Results - Essential

To generate the basic overall results summary with overall seat change and overall vote percent change you need:

DatePartyRidingCandidateReasonExample
DissolutionSeats (leading)

seat +/-
Previous
Votesvote% +/-

Used By

  • BLADE 
    • Party Results - All
      • api/party/result/overall/(mains)/json/
  • Flow Header - party seat counts
    • via blade request above
  • Overall Race module
    • Seats graph for All Regions selection
    • Vote % graph for All Regions selection
  • Riding Detail Results module
    • Seats graph
    • Vote % graph

Tips

If you are starting with no previous data then you can enter summary records to enable this level of analysis

  1. Add all the parties with their total seat count for the previous election date
  2. Create a single candidate for each party and assign the party's total votes
    1. the name of this candidate doesn't really matter - it could be the party name or the party leader name if you prefer

Overall Party Seats Graph - Essential

This graph is found in the Overall Race module and is the main graph presented. It can be organized by year or by party. 

DatePartyRidingCandidateReason
DissolutionSeats (leading)

seat count
PreviousSeats (leading)

seat count

Regional Party Results

To generate the overall party results summary with overall seat change and overall vote percent change for a specific region you need:

DateRegionPartyRidingCandidateReasonExample
DissolutionRidings

Elected Party


seat +/-

PreviousRidingsVotesvote% +/-

Used By 

  • Overall Race module
    • Seats graph for a specific region
    • Vote % graph for a specific region

Tips

  • Clone the previous election ridings into the dissolution date.
    • requires setting the dissolution date as active
    • use the Clone feature
    • set current election date back to active

Regional Party Gain/Loss

To generate the more specific gains and losses analysis we need a riding-by-riding level of analysis to know when a party lost a riding and when they gained one.

This method uses the Incumbent Party field of the current election riding records.

DateRegionPartyRidingCandidateReasonExample
PreviousRidingsVotesvote% +/-


"votesPercentChange":-12.1
CurrentRidingsIncumbent PartyVotes

Gains &
Losses

"gains":2
"losses":8

Used By

  • BLADE
    • Party Results for a region with Gain-Loss analysis
      • api/party/result/region/Vancouver/(mains)/json/gainloss/








  • No labels