Secure websites use HTTPS
Updated 3 months ago
ELD (Elections Department)Attribute Legend
Attributes | Data Type | Description |
---|---|---|
Name | Text | - |
ED_CODE | Text | - |
ED_DESC | Text | - |
FID | Numeric | - |
Field_1 | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for Electoral Boundary 2020 (GEOJSON). Large datasets may be truncated in the preview. Please download the dataset for complete data.
{
"type": "FeatureCollection",
"name": "ELD2020",
"crs": {
"type": "name",
"properties": {
"name": "urn:ogc:def:crs:OGC:1.3:CRS84"
}
},
"features": [
{
"type": "Feature",
"properties": {
"Name": "RADIN MAS",
"ED_CODE": "RM",
"ED_DESC": "RADIN MAS",
"FID": 0,
"Field_1": "RADIN MAS"
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
103.824848149666,
1.26599825400059
],
[
103.825269441844,
1.2661150459585
],
[
103.825698455735,
1.26634082018771
],
[
103.825953554037,
1.26658217334944
],
[
103.826419930311,
1.26702305259664
],
[
103.826352031497,
1.26710958567691
],
[
103.825969784965,
1.26759972603871
],
[
103.825868769636,
1.26773052315681
],
[
103.82568653462,
1.26796648773475
],
[
103.825306129769,
1.26876868638263
],
[
103.825225734398,
1.26903494385177
],
[
103.825177402299,
1.26930429253929
],
[
103.825226959914,
1.26992793376304
],
[
103.825283275124,
1.27036017429041
],
[
103.825280624622,
1.27059400237563
],
[
103.825892224423,
1.2707481342444
],
[
103.826327556788,
1.27095144124399
],
[
103.826781105852,
1.271261028287
],
[
103.827335423606,
1.27171273554255
],
[
103.827652669702,
1.27198558318483
],
[
103.828062730761,
1.27236053378809
],
[
103.828509291286,
1.27276884913185
],
[
103.828660216282,
1.27288659321176
],
[
103.828780974691,
1.27304229614112
],
[
103.828830832392,
1.27318169595334
],
[
103.828814914666,
1.27327776661825
],
[
103.828556391498,
1.27429777319057
],
[
103.828650820677,
1.2746666991112
],
[
103.828678792959,
1.27469264087168
],
[
103.829114622629,
1.27518308056402
],
[
103.828386052244,
1.27580820436397
],
[
103.826478623856,
1.27741139847979
],
[
103.826821296247,
1.2774130245205
],
[
103.826440558173,
1.27777022959146
],
[
103.825636592789,
1.27841047246101
],
[
103.825874985586,
1.27871069700947
],
[
103.826282487292,
1.27850776410013
],
[
103.826665960451,
1.27927032836762
],
[
103.825676022869,
1.27977113485581
],
[
103.825731269187,
1.27986805400293
],
[
103.825483451088,
1.28001125039588
],
[
103.825451519696,
1.28002666158021
],
[
103.825859857889,
1.28085567424998
],
[
103.825011731584,
1.28129200327989
],
[
103.823809162568,
1.28183670167485
],
[
103.822779175717,
1.28230322329671
],
[
103.821919507817,
1.28268722106467
],
[
103.82103288266,
1.28305714106421
],
[
103.820207261262,
1.28335057892739
],
[
103.820301694134,
1.28352761879003
],
[
103.820435525977,
1.28392229064393
],
[
103.820625304616,
1.28447985335741
],
[
103.820798973234,
1.28489093418586
],
[
103.820970449373,
1.28513498964867
],
[
103.821111564208,
1.28531074098691
],
[
103.821652155713,
1.28583982231382
],
[
103.821699448287,
1.28590233404073
],
[
103.821703294017,
1.2859071362359
],
[
103.820866372244,
1.28665099407882
],
[
103.819779090509,
1.28671822621848
],
[
103.81983372693,
1.28863909024984
],
[
103.818749369117,
1.28869994708499
],
[
103.817901777799,
1.28874706037258
],
[
103.817705706152,
1.28876555523948
],
[
103.817252892978,
1.28900643902367
],
[
103.816533128375,
1.28954416787302
],
[
103.816171843315,
1.28974943094329
],
[
103.816017114566,
1.28947257125531
],
[
103.815844797881,
1.28918460131418
],
[
103.815713389543,
1.28896499529762
],
[
103.815522763796,
1.28874309086711
],
[
103.81536372903,
1.28864274413361
],
[
103.815197625445,
1.28854393747289
],
[
103.815042186775,
1.28842821925595
],
[
103.814916821254,
1.28833052343101
],
[
103.814733439723,
1.28809980686328
],
[
103.814653210361,
1.28791523445248
],
[
103.81451567491,
1.28771335749711
],
[
103.813533820875,
1.28675664505809
],
[
103.813923485477,
1.28627837110477
],
[
103.813935366774,
1.2860535813643
],
[
103.814023406248,
1.28598439541188
],
[
103.814351486648,
1.28597482699502
],
[
103.81432604269,
1.28500274220319
],
[
103.814096783264,
1.28412400531455
],
[
103.813946999969,
1.2836964783467
],
[
103.813861173452,
1.28367615209007
],
[
103.813303520647,
1.28385495877638
],
[
103.813182719758,
1.28344294727674
],
[
103.813364937651,
1.28338559570384
],
[
103.81415249634,
1.28303330552908
],
[
103.814602627511,
1.28279041999297
],
[
103.815010218418,
1.28251332013718
],
[
103.816766097043,
1.28141592427018
],
[
103.817960472841,
1.28068791801455
],
[
103.81
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
import requests
dataset_id = "d_6077aa5ab73d447b32f451ea224221b6"
url = "https://api-open.data.gov.sg/v1/public/api/datasets/" + dataset_id + "/poll-download"
response = requests.get(url)
json_data = response.json()
if json_data['code'] != 0:
print(json_data['errMsg'])
exit(1)
url = json_data['data']['url']
response = requests.get(url)
print(response.text)
This dataset can be reused and cited in research publications.
20 Jun 2024
Free forever for personal or commercial use, under the Open Data Licence.