A Singapore Government Agency Website
Official website links end with .gov.sg
Government agencies communicate via .gov.sg websites (e.g. go.gov.sg/open). Trusted websites

Secure websites use HTTPS

Look for a lock () or https:// as an added precaution. Share sensitive information only on official, secure websites.

Real-time APIs will be unavailable from September 19th, 2024, 06:00 pm to September 19th, 2024, 10:00 pm due to upstream service's system maintenance. We apologise for the inconvenience caused.

Parliamentary By-Election Results by Candidate

Data from Jan 1957 to Dec 2016Updated 4 months ago

ELD (Elections Department)

Data explorer

ParliamentaryByElectionResultsbyCandidate.csv (70 rows, 3.7 KB)

Year
Datetime (Year) "YYYY"
Constituency
Text (General)
Constituency Type
Text (General)
Candidates
Text (General)
Party
Text (General)
Vote count
Numeric (General)
Percentage of Valid Votes
Numeric (Percentage)
(Null)0.0%
(Null)0.0%
(Null)82.9%
(Null)0.0%
(Null)0.0%
(Null)21.4%
(Null)21.4%
1957CairnhillnaAbdul Majid MirzaIndependent910.0156
1957CairnhillnaGoh Kong BengIndependent12810.2203
1957CairnhillnaKeng Ban EeSLF11180.1923
1957CairnhillnaSoh Ghee SoonLSP23420.4028
1957CairnhillnaTengku Muda Muhamed bin MahmudIndependent9830.169
1957Tanjong PagarnaChong Wee LingLSP13150.1903
1957Tanjong PagarnaKoh Choon HongIndependent8870.1284
1957Tanjong PagarnaLee Kuan YewPAP47070.6813
1961AnsonnaChee Phui HungSA14820.1784
1961AnsonnaK. M. IbrahimSC690.0084

Column legend

Title
Column name
Data type
Unit of measure
Description
YearyearDatetime (Year) "YYYY"--
ConstituencyconstituencyText (General)--
Constituency Typeconstituency_typeText (General)--
CandidatescandidatesText (General)-For GRCs, candidate names are separated by the pipe character "|".
PartypartyText (General)--
Vote countvote_countNumeric (General)No. of Votes-
Percentage of Valid Votesvote_percentageNumeric (Percentage)--

Sample OpenAPI query

This code can be used to test a sample API query. It retrieves the data catalogue of this dataset. For a complete guide on query parameters and syntax, please refer to the API documentation. Try it out on your browser to see the response schema.

import requests
          
datasetId = "d_ba8da764a37ca36b34e4e5ad866294f8"
url = "https://data.gov.sg/api/action/datastore_search?resource_id="  + datasetId 
        
response = requests.get(url)
print(response.json())

About this dataset

Contact

feedback@data.gov.sg

Created on

02 Nov 2016

Licence

Free forever for personal or commercial use, under the Open Data Licence.

Agency

ELD (Elections Department)

Dataset usage

28
Views
4
Downloads
27
API calls