Secure websites use HTTPS
Updated 6 months ago
MLAW (Ministry of Law)Attribute Legend
Attributes | Data Type | Description |
---|---|---|
Name | Text | - |
Description | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for Community Mediation. Large datasets may be truncated in the preview. Please download the dataset for complete data.
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "urn:ogc:def:crs:OGC:1.3:CRS84"
}
},
"features": [
{
"type": "Feature",
"properties": {
"Name": "kml_1",
"Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes</em></th></tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSBLOCKHOUSENUMBER</th> <td>45</td> </tr><tr bgcolor=\"\"> <th>ADDRESSBUILDINGNAME</th> <td>The URA Centre</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSFLOORNUMBER</th> <td>7</td> </tr><tr bgcolor=\"\"> <th>ADDRESSPOSTALCODE</th> <td>69118</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSSTREETNAME</th> <td>Maxwell Road</td> </tr><tr bgcolor=\"\"> <th>ADDRESSTYPE</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DESCRIPTION</th> <td>Shows locations of Community Mediation Centres</td> </tr><tr bgcolor=\"\"> <th>HYPERLINK</th> <td>http://www.mlaw.gov.sg</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LANDXADDRESSPOINT</th> <td>0</td> </tr><tr bgcolor=\"\"> <th>LANDYADDRESSPOINT</th> <td>0</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>NAME</th> <td>Community Mediation</td> </tr><tr bgcolor=\"\"> <th>PHOTOURL</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>91D703C8AF1A6D98</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20170302153423</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSUNITNUMBER</th> <td>11</td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.845209386973,
1.27955128114037,
0
]
}
}
]
}
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_4c763d1fe1d80c30348ba4f427975f9c"
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.
31 Jul 2023
Free forever for personal or commercial use, under the Open Data Licence.