Secure websites use HTTPS
We are currently receiving outdated data from the 24 hour forecast real time API. Our team is investigating the cause of the incident and working diligently towards a resolution along with NEA. We apologize for the inconvenience caused.
Updated 7 months ago
NEA (National Environment Agency)Attribute Legend
Attributes | Data Type | Description |
---|---|---|
Name | Text | - |
Description | Text | - |
Dataset preview
This code can be used to view the raw JSON dataset for Zika Cluster (GEOJSON). 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>CASE_SIZE</th> <td>4</td> </tr><tr bgcolor=\"\"> <th>NAME</th> <td></td> </tr><tr bgcolor=\"#E3E3F3\"> <th>HYPERLINK</th> <td></td> </tr><tr bgcolor=\"\"> <th>CLUSTER_ID</th> <td>AA20190001</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>INC_CRC</th> <td>AEEFE7C4F1115DEC</td> </tr><tr bgcolor=\"\"> <th>FMEL_UPD_D</th> <td>20190919143316</td> </tr><tr bgcolor=\"#E3E3F3\"> <th>LOCALITY</th> <td>Hemsley Ave</td> </tr></table></center>"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
103.864521698672,
1.3699379532411,
0
],
[
103.864979124338,
1.37010420370197,
0
],
[
103.86501667516,
1.37013973114804,
0
],
[
103.86503504072,
1.37018378881165,
0
],
[
103.865038264618,
1.37023905355726,
0
],
[
103.864923026423,
1.37057141162543,
0
],
[
103.864738240987,
1.3706554738137,
0
],
[
103.865907460787,
1.37137401247913,
0
],
[
103.866015174202,
1.37130313869805,
0
],
[
103.866175862916,
1.37130311839769,
0
],
[
103.866476984943,
1.37144703020605,
0
],
[
103.866814042123,
1.37155285507914,
0
],
[
103.866727256085,
1.36958730587907,
0
],
[
103.867417139878,
1.36954473040025,
0
],
[
103.867389627683,
1.36815941043913,
0
],
[
103.867383091358,
1.36783150166059,
0
],
[
103.866496753973,
1.36782075673899,
0
],
[
103.866481180376,
1.36699895582316,
0
],
[
103.866451964144,
1.36620046598124,
0
],
[
103.865176212045,
1.36770388114667,
0
],
[
103.864362360375,
1.36866275302446,
0
],
[
103.864346818712,
1.36873270308162,
0
],
[
103.864521698672,
1.3699379532411,
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_a3c783f11d79ff7feb8856f762ccf2c5"
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.
18 Sep 2019
Free forever for personal or commercial use, under the Open Data Licence.