2022 State election results data feed

Media outlets and other interested stakeholders can register their interest to download results data files in XML format for the 2022 Victorian State election.

Register your interest in the results data feed

What is the results data feed?

XML data files containing election results will be available for download from the election media feed SharePoint site. You must register your interest to get updates about this service and get access to the SharePoint site.

The service will be available from Wednesday 9 November 2022.

Those wishing to use the service can access files from the 2018 State election on the SharePoint site up until that point, for test purposes. These files will be removed on 8 November but can be provided by email on request.

All data files will be contained in a single folder and are in ZIP format. To find new feeds, list all files in the associated directory and select the most recent file using the date/time encoded into the filename: {filename}_YYYYMMDD_HHMMSS.zip.

Files are listed alphabetically and appear in ascending date/time order.

Results data feed files

The following set-up files will be available:

  1. State2022MediaFilePollingLocations - election day voting centre information and will be available on the SharePoint site from Wednesday 9 November.
  2. State2022MediaFileCandidates - all the candidates for both the Lower House districts and Upper House regions. The file will be available after the close of nominations on Friday 11 November.
  3. State2022MediaFileGroupsAndTickets - all the Upper House Group and Ticket information. The file will be available after group voting ticket registrations have closed on Sunday 13 November.

The following results data files will be available on the SharePoint site from 6 pm on election night (Saturday 26 November):

  1. State2022mediafileverboselh - results for the Lower House (districts) and has all the data within the file (e.g. voting centres, candidate names, party affiliations etc). Those wishing to use this file do not need to also use the set-up files outlined above.
  2. State2022mediafileverboseuh - results for the Upper House (regions) and has all the data within the file (e.g. voting centres, candidate names, party affiliations etc). Those wishing to use this file do not need to also use the set-up files outlined above.
  3. State2022mediafilelitelh - results for the Lower House (districts), but it does not contain the level of detail of the verbose file. The candidate information in this file will link with the candidate information within the MediaFileCandidates.xml. Please note that this file will not contain votes by voting centre.
  4. State2022mediafileliteuh - results for the Upper House (regions), but it does not contain the level of detail of the verbose file. The candidate information in this file will link with the candidate information within the MediaFileCandidates.xml and the MediaFileGroupsAndTickets.xml. Please note that this file will not contain votes by voting centre.
  5. State2022mediafilelitepplh - results for the Lower House (districts) but it does not contain the level of detail of the verbose file. The candidate and voting centre information in this file will link with the candidate and voting centre information within the MediaFilePollingLocations.xml file and the MediaFileCandidates.xml.
  6. State2022mediafileliteppuh - results for the Upper House (region) but it does not contain the level of detail of the verbose file. The candidate and voting centre information in this file will link with the candidate and voting centre information within the MediaFilePollingLocations.xml file, the MediaFileCandidates.xml and the MediaFileGroupsAndTickets.xml.

Please note:

  • Results files for the lower house (districts) will contain “L” as the ElectionIdentifier ID and results files for the upper house (regions) will contain “U” as the ElectionIdentifier ID.
  • Candidate information will include only the candidate name, affiliation (party), ballot paper position and independent indicator. No personal information such as age, gender, address, profession or contact details will be provided.
  • Election day voting centres (known as polling places at Federal level) will include voting centre name and identifier only, but not the address. Voting centre addresses will be available on this website from Wednesday 2 November.
  • There are no state indicators, unlike at a Federal level (given all counting is for Victoria).

The following data is not included in the results data files:

  • Primary results once a recheck has commenced (2CP results for the district will still be included but will be based on primary results)
  • Preference distribution data
  • Declared date (true or false only)
  • Final first preference data for each of the upper house regions following the calculation of the regions. First preference data from the recheck will continue to populate in the files and will not be replaced by final first preference data from the computer count system, which includes above-the-line and informal adjustments found during data entry of below-the-line papers. Final first preference figures, along with preference distribution data, will be available on this website.

In the event of a region recount:

  • The recheck data will also continue to populate in the files and will not be replaced by final recount first preference data from the computer count system.
  • Recount first preference figures, along with recount preference distribution data, will be available on this website.

In the event of a district recount:

  • Results by election day voting centre and candidate totals by vote type (postal, early, absent etc) will not be included as only the total votes by candidate will be populated.
  • Where a district recount is conducted by computer, the final first preference data following the calculation will not be included. First preference data from the recheck will continue to populate in the files and will not be replaced by final first preference data from the computer count system. Final recount first preference figures, along with recount preference distribution data, will be available on this website.

File frequency

The 6 types of results files will be generated every 5 minutes from 6 pm on election night until the end of counting that night, in line with the frequency of results updates on this website. Following election night, files will be generated at a reduced frequency until all results are completed (approx. Friday 16 December).

Comparative data sets

Results files do not contain any historic or swing data. The following resources may assist in conducting any electoral analysis:

Incorrect two-candidate-preferred counts

The district two-candidate-preferred (2CP) count involves preferences being distributed to the 2 candidates considered 'most likely' to be in the lead in a district election after the distribution of preferences. The 2 candidates involved are determined prior to election day. The purpose of the 2CP count is to provide an early indication of the result of the election.

The VEC will monitor the results of the district 2CP counts on election night. Where the candidates selected for any district’s 2CP count are incorrect, we will decide whether the 2CP will be corrected.

No corrections will occur on election night but the details of which 2CPs were incorrect (if any) will be available on this website on election night. Please note that the results files do not contain any information about whether the 2CP is correct or incorrect. Once the VEC decides which districts, if any, will have their 2CPs corrected, this information will also be made available on this website.

Where 2CPs are corrected, corrections will commence from Monday 28 November and the original 2CP results will be deleted out of the files and replaced with data for the newly-selected candidates. Where an incorrect 2CP is not corrected, the results files will continue to include the incorrect 2CP.

Election night trial

Media outlets who have registered to take the feed will be invited to participate in an election night trial on Wednesday 23 November. The VEC will provide further information directly to registered media outlets approximately one week before the trial.

Count timelines

The following counts will be occurring from 6 pm on election night.

At election day voting centres, all ordinary votes (votes cast for the district in which the voting centre resides) will be counted in this order:

  • District first preference (known as the primary count)
  • District 2CP
  • Region first preference (known as the primary count).

At early voting centres, all own-district early votes (votes cast for the district in which the early voting centre resides) will be counted in this order, including early votes taken by mobile voting teams:

  • District first preference (known as the primary count)
  • District 2CP.

The region first preference count will be conducted on Monday 28 November.

At the Centralised Activity Site (CAS), all postal votes received and verified by election day will be counted as follows:

  • District first preference (known as the primary count)
  • District 2CP.

The region first preference count will commence on Sunday 27 November.

While file publication will commence every 5 minutes from 6 pm on election night, results will initially come in slowly but will build as the night proceeds.

The first results (from small voting centres) are expected to appear from around 6.30 pm and it is hoped that the majority of counts will be finalised by around 10 pm. However, counting may continue past this in venues counting large numbers of votes.

More information

For further information on the count timeline post-election day, please refer to the 2022 State Election Service Plan.

A schedule of daily counting activities will also be posted on this website post-election day.