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 the analysis you want.
Review 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.
Required Data
Overall Party Results
To generate the basic overall results summary you need:
Date | Party | Riding | Candidate | Reason | Example |
---|---|---|---|---|---|
Dissolution | Seats (leading) | seat +/- | |||
Previous | ✔ | Votes | vote% +/- |
Used By
- BLADE
- Party Results - All
- api/party/result/overall/(mains)/json/
- Party Results - All
- 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
Regional Party Results
To generate the overall party results summary for a specific region you need:
Date | Region | Party | Riding | Candidate | Reason | Example |
---|---|---|---|---|---|---|
Dissolution | Ridings | ✔ | Elected Party | seat +/- | ||
Previous | Ridings | Associated candidates | Votes | vote% +/- |
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.
This method uses the Incumbent Party field of the current election riding records.
Date | Region | Party | Riding | Candidate | Reason | Example |
---|---|---|---|---|---|---|
Previous | Ridings | Associated candidates | Votes | vote% +/- | <VotesPercentChange>10.1</VotesPercentChange> | |
Notes
Party codes/abbreviations need to be consistent across election dates.