Skip to Content
[Page Content]

Election Results File Downloads

Download Election Results - To download and save one of the Election Results Data Files listed below, place mouse pointer on the desired Election Name - Date, click to expand to view the available formats.

Starting February 2021, JSON will replace legacy ETS/XML file formats. For the JSON schema definition expand the section below.

{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "$id": "https://results.lavote.net/electionresults/json",
    "$title": "LA County Election Results Schema",
    "$ref": "#/definitions/Data",
    "definitions": {
        "Data": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "Election": {
                    "$ref": "#/definitions/Election"
                },
                "Timestamp": {
                    "type": "string",
                    "format": "date-time"
                }
            },
            "required": [
                "Election",
                "Timestamp"
            ],
            "title": "Data"
        },
        "Election": {
            "type": "object",
            "description": "contains general information about the election",
            "additionalProperties": false,
            "properties": {
                "ID": {
                    "type": "integer",
                    "description": "the election id"
                },
                "Date": {
                    "type": "string",
                    "description": "the election date",
                    "format": "date-time"
                },
                "Title": {
                    "type": "string",
                    "description": "the election title"
                },
                "ContestGroups": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/ContestGroup",
                        "description": "listing of contest groups for this election"
                    }
                }
            },
            "required": [
                "ContestGroups",
                "Date",
                "ID",
                "Title"
            ],
            "title": "Election"
        },
        "ContestGroup": {
            "type": "object",
            "description": "a grouping of contest(s) for an election",
            "additionalProperties": false,
            "properties": {
                "Name": {
                    "type": "string",
                    "description": "the contest group name"
                },
                "Contests": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/Contest",
                        "description": "listing of contests for this contest group"
                    }
                }
            },
            "required": [
                "Contests",
                "Name"
            ],
            "title": "ContestGroup"
        },
        "Contest": {
            "type": "object",
            "description": "contains information related to a specific contest",
            "additionalProperties": false,
            "properties": {
                "Title": {
                    "type": "string",
                    "description": "the contest title"
                },
                "Type": {
                    "$ref": "#/definitions/Type",
                    "description": "the contests type (i.e. candidate vs measure)"
                },
                "AdditionalText": {
                    "type": "string",
                    "description": "additional text related to the contest"
                },
                "MeasureText": {
                    "type": "string",
                    "description": "any measure related text for the contest"
                },
                "MeasurePassRate": {
                    "$ref": "#/definitions/MeasurePassRate",
                    "description": "indicates the votes cast requirement for the measure to pass"
                },
                "VoteFor": {
                    "$ref": "#/definitions/VoteFor",
                    "description": "indicates the votes for requirement for the contest (i.e. Vote for no more than two)"
                },
                "Candidates": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/Candidate",
                        "description": "listing of candidates for this contest"
                    }
                }
            },
            "required": [
                "AdditionalText",
                "Candidates",
                "MeasurePassRate",
                "MeasureText",
                "Title",
                "Type",
                "VoteFor"
            ],
            "title": "Contest"
        },
        "Candidate": {
            "type": "object",
            "description": "contains information related to a specific candidate",
            "additionalProperties": false,
            "properties": {
                "Name": {
                    "type": "string",
                    "description": "name of the candidate"
                },
                "Party": {
                    "$ref": "#/definitions/Party",
                    "description": "party of the candidate"
                },
                "Votes": {
                    "type": "integer",
                    "description": "votes cast for the candidate"
                }
            },
            "required": [
                "Name",
                "Party",
                "Votes"
            ],
            "title": "Candidate"
        },
        "Party": {
            "type": "string",
            "description": "parties referenced for this election",
            "enum": [
                "Non Partisan",
                "Democratic",
                "Republican",
                "Green",
                "Peace and Freedom",
                "Libertarian",
                "American Independent"
            ],
            "title": "Party"
        },
        "MeasurePassRate": {
            "type": "string",
            "description": "measure pass rates referenced for this election",
            "enum": [
                "",
                "Majority of votes cast",
                "2/3 of votes cast",
                "55% of votes cast"
            ],
            "title": "MeasurePassRate"
        },
        "Type": {
            "type": "string",
            "description": "contests and election types referenced for this election",
            "enum": [
                "Candidate",
                "Measure",
                "Presidential"
            ],
            "title": "Type"
        },
        "VoteFor": {
            "type": "string",
            "description": "vote for types referenced for this election",
            "enum": [
                "",
                "Vote for no more than two",
                "Vote for no more than three",
                "Vote for no more than four"
            ],
            "title": "VoteFor"
        }
    }
}

 

File Format Instructions - The election results data file is an ASCII line sequential file with a fixed record length of 95 characters. It is recommend first-time users download and save on their computer the file format instructions for reference. To download each file (description - Internet.wri, layout - Internet.txt or results sample - Internet.dat) place mouse pointer on ...Download following each file name, CLICK and follow your browser's instructions to save the file on your computer.

 Internet.wri ...Download - A document containing the data descriptions of the information and record types in the Election Results Data File. To view and/or print this document, MS Window's Write or similar word-processing software is required.

 Internet.txt ...Download - A document containing the record layout(s) of the various record types in the Election Results Data File. To view the layout requires an ASCII text editor such as MS Notepad or MS DOS Editor. To print the layout, use the following settings: 8 1/2 X 11 paper, print orientation is landscape, 12 pitch fixed font, and 60 lines per page.

 Internet.dat ...Download - A sample election results data file created to familiarize the user with the format of the ASCII Election Results Data Files. To view the data file requires an ASCII text editor such as MS Notepad or MS DOS Editor. To print the results file, use the following settings: 8 1/2 X 11 paper, print orientation is portrait, 12 pitch fixed font, and no margins.

 
[Original Content]
Alert - COVID-19

The Registrar-Recorder/County Clerk will close all of its offices to the public effective Monday, March 16 as a precautionary measure to help slow the spread of the Coronavirus (COVID-19).

Due to the ongoing COVID-19 health crisis, all mail and online orders are experiencing processing delays. Thank you for your patience and please click here for updated information regarding COVID-19.