Allegheny County Election Results
Allegheny County / City of Pittsburgh / Western PA Regional Data Center
@usgov.allegheny_county_city_of_pitts_allegheny_county_electi_e5ce3c3e
Allegheny County / City of Pittsburgh / Western PA Regional Data Center
@usgov.allegheny_county_city_of_pitts_allegheny_county_electi_e5ce3c3e
Official, certified results of primary, general, and special elections held in Allegheny County. (Note that the most recent results may not yet be certified. Please check the link at https://www.alleghenycounty.us/elections/election-results.aspx to determine whether the results have been certified.)
Organization: Allegheny County / City of Pittsburgh / Western PA Regional Data Center
Last updated: 2023-01-24T17:58:45.803703
Tags: _etl, election, government, politics, voter, voting
CREATE TABLE election_results_data_dictionary_for_2017 (
"field_name" VARCHAR,
"field_description" VARCHAR,
"example_1" VARCHAR,
"example_2" VARCHAR,
"additional_information" VARCHAR
);CREATE TABLE n_2012_primary_election_results_by_precinct (
"reg_voters" BIGINT,
"votes" BIGINT,
"party" VARCHAR,
"dist_type" VARCHAR -- Dist. Type,
"dist_code" DOUBLE -- Dist. Code,
"contest_title" VARCHAR,
"cand_num" BIGINT -- Cand. Num,
"cand_name" VARCHAR -- Cand. Name,
"precinct_name" VARCHAR,
"vote_for" BIGINT,
"ref" VARCHAR
);CREATE TABLE n_2012_special_election_results_by_precinct (
"reg_voters" BIGINT,
"votes" BIGINT,
"party" VARCHAR,
"dist_type" VARCHAR -- Dist. Type,
"dist_code" DOUBLE -- Dist. Code,
"contest_title" VARCHAR,
"cand_num" BIGINT -- Cand. Num,
"cand_name" VARCHAR -- Cand. Name,
"precinct_name" VARCHAR,
"vote_for" BIGINT,
"ref" VARCHAR
);CREATE TABLE n_2012_special_election_summary (
"votes" BIGINT,
"prec_count" BIGINT -- Prec. Count,
"party" VARCHAR,
"dist_type" VARCHAR -- Dist. Type,
"dist_code" DOUBLE -- Dist. Code,
"contest_name" VARCHAR,
"cand_num" BIGINT -- Cand. Num,
"cand_name" VARCHAR -- Cand. Name,
"vote_for" BIGINT,
"ref" VARCHAR
);CREATE TABLE n_2015_general_election_results_by_precinct (
"reg_voters" BIGINT,
"votes" BIGINT,
"party" VARCHAR,
"dist_type" VARCHAR -- Dist. Type,
"dist_code" VARCHAR -- Dist. Code,
"contest_title" VARCHAR,
"cand_num" BIGINT -- Cand. Num,
"cand_name" VARCHAR -- Cand. Name,
"precinct_name" VARCHAR,
"vote_for" BIGINT,
"ref" VARCHAR
);CREATE TABLE n_2015_general_election_summary (
"votes" BIGINT,
"prec_count" BIGINT -- Prec. Count,
"party" VARCHAR,
"dist_type" VARCHAR -- Dist. Type,
"dist_code" VARCHAR -- Dist. Code,
"contest_name" VARCHAR,
"cand_num" BIGINT -- Cand. Num,
"cand_name" VARCHAR -- Cand. Name,
"vote_for" BIGINT,
"ref" VARCHAR
);CREATE TABLE n_2015_primary_election_results_by_precinct (
"reg_voters" BIGINT -- Reg. Voters,
"votes" BIGINT,
"party" VARCHAR,
"dist_type" VARCHAR -- Dist. Type,
"dist_code" DOUBLE -- Dist. Code,
"contest_title" VARCHAR,
"cand_num" BIGINT -- Cand. Num,
"cand_name" VARCHAR -- Cand. Name,
"precinct_name" VARCHAR,
"vote_for" BIGINT,
"ref" VARCHAR
);CREATE TABLE n_2015_primary_election_summary (
"votes" BIGINT,
"prec_count" BIGINT -- Prec. Count,
"party" VARCHAR,
"dist_type" VARCHAR -- Dist. Type,
"dist_code" DOUBLE -- Dist. Code,
"contest_name" VARCHAR,
"cand_num" BIGINT -- Cand. Num,
"cand_name" VARCHAR -- Cand. Name,
"vote_for" BIGINT,
"ref" VARCHAR
);CREATE TABLE n_2016_general_election_results_by_precinct (
"reg_voters" BIGINT,
"votes" BIGINT,
"party" VARCHAR,
"dist_type" VARCHAR -- Dist. Type,
"dist_code" DOUBLE -- Dist. Code,
"contest_title" VARCHAR,
"cand_num" BIGINT -- Cand. Num,
"cand_name" VARCHAR -- Cand. Name,
"precinct_name" VARCHAR,
"vote_for" BIGINT,
"ref" VARCHAR
);CREATE TABLE n_2016_general_election_summary (
"votes" BIGINT,
"prec_count" BIGINT -- Prec. Count,
"party" VARCHAR,
"dist_type" VARCHAR -- Dist. Type,
"dist_code" DOUBLE -- Dist. Code,
"contest_name" VARCHAR,
"cand_num" BIGINT -- Cand. Num,
"cand_name" VARCHAR -- Cand. Name,
"vote_for" BIGINT,
"ref" VARCHAR
);CREATE TABLE n_2016_primary_election_results_by_precinct (
"reg_voters" BIGINT,
"votes" BIGINT,
"party" VARCHAR,
"dist_type" VARCHAR -- Dist. Type,
"dist_code" VARCHAR -- Dist. Code,
"contest_title" VARCHAR,
"cand_num" BIGINT -- Cand. Num,
"cand_name" VARCHAR -- Cand. Name,
"precinct_name" VARCHAR,
"vote_for" BIGINT,
"ref" VARCHAR
);CREATE TABLE n_2016_primary_election_summary (
"votes" BIGINT,
"prec_count" BIGINT -- Prec. Count,
"party" VARCHAR,
"dist_type" VARCHAR -- Dist. Type,
"dist_code" VARCHAR -- Dist. Code,
"contest_name" VARCHAR,
"cand_num" BIGINT -- Cand. Num,
"cand_name" VARCHAR -- Cand. Name,
"vote_for" BIGINT,
"ref" VARCHAR
);CREATE TABLE n_2017_general_election_results (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);CREATE TABLE n_2018_general (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);CREATE TABLE n_2018_primary (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);CREATE TABLE n_2019_general (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);CREATE TABLE n_2019_primary (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);CREATE TABLE n_2020_general (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);CREATE TABLE n_2020_primary (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);CREATE TABLE n_2021_general (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);CREATE TABLE n_2021_primary (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);CREATE TABLE n_2022_general_election (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);CREATE TABLE n_2022_primary_election (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);CREATE TABLE special_election_32nd_legislative_district (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);CREATE TABLE special_election_for_18th_congressional_district (
"n__id" BIGINT -- Id,
"line_number" BIGINT,
"contest_name" VARCHAR,
"choice_name" VARCHAR,
"party_name" VARCHAR,
"total_votes" BIGINT,
"percent_of_votes" DOUBLE,
"registered_voters" BIGINT,
"ballots_cast" BIGINT,
"total_number_of_precincts" BIGINT,
"number_of_precincts_reporting" BIGINT,
"over_votes" BIGINT,
"under_votes" BIGINT
);Anyone who has the link will be able to view this.