Secure websites use HTTPS
Real-time Weather APIs will be unavailable from 24 Nov 2024 12:00 AM to 12:00 PM due to upstream maintenance.
Updated 6 months ago
PA (People's Association)Attribute Legend
Attributes | Data Type | Description |
---|---|---|
Name | Text | - |
Description | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for PA Holiday Facilities. 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>101</td> </tr><tr bgcolor=\"\"> <th>ADDRESSBUILDINGNAME</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSFLOORNUMBER</th> <td></td> </tr><tr bgcolor=\"\"> <th>ADDRESSPOSTALCODE</th> <td>519886</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSSTREETNAME</th> <td>Elias Road</td> </tr><tr bgcolor=\"\"> <th>ADDRESSTYPE</th> <td>A</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DESCRIPTION</th> <td>Holiday Facilities</td> </tr><tr bgcolor=\"\"> <th>HYPERLINK</th> <td>https://www.pa.gov.sg/Our_Network/Holiday_Facilities</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>Pasir Ris Holiday Flats (Closed with effect from 01 May 2018)</td> </tr><tr bgcolor=\"\"> <th>PHOTOURL</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>3CC7B109AAAE3C49</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20180502145346</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSUNITNUMBER</th> <td></td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.94235227842,
1.38552087593239,
0
]
}
},
{
"type": "Feature",
"properties": {
"Name": "kml_2",
"Description": "<center><table><tr><th colspan='2' align='center'><em>Attributes</em></th></tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSBLOCKHOUSENUMBER</th> <td>97</td> </tr><tr bgcolor=\"\"> <th>ADDRESSBUILDINGNAME</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSFLOORNUMBER</th> <td></td> </tr><tr bgcolor=\"\"> <th>ADDRESSPOSTALCODE</th> <td>519885</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSSTREETNAME</th> <td>Elias Road</td> </tr><tr bgcolor=\"\"> <th>ADDRESSTYPE</th> <td>A</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>DESCRIPTION</th> <td>Holiday Facilities</td> </tr><tr bgcolor=\"\"> <th>HYPERLINK</th> <td>https://www.pa.gov.sg/Our_Network/Holiday_Facilities</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>Pasir Ris Holiday Camp (Closed with effect from 01 May 2018)</td> </tr><tr bgcolor=\"\"> <th>PHOTOURL</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>1C30165AC78F2556</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20180502145346</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>ADDRESSUNITNUMBER</th> <td></td> </tr></table></center>"
},
"geometry": {
"type": "Point",
"coordinates": [
103.942596799716,
1.38493840630133,
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_7d4e8bd0029578bdefcc7f7849cab1c4"
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.