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.

National Behavioural Surveillance Survey

Data from Jan 2007 to Dec 2012Updated 4 months ago

HPB (Health Promotion Board)

Proportion by Year

Data explorer

NationalBehaviouralSurveillanceSurvey.csv (8 rows, 473 B)

Year
Datetime (Year) "YYYY"
Knowledge on HIV/AIDS Prevention
Text (General)
Proportion
Numeric (Percentage)
(Null)0.0%
(Null)0.0%
(Null)0.0%
2007Abstaining from casual sex (A)0.752
2007Being faithful to uninfected sexual partner (B)0.816
2007Using a condom correctly every time having sex ( C )0.544
2007At least 2 out of 3 ways of ABC prevention0.804
2012Abstaining from casual sex (A)0.651
2012Being faithful to uninfected sexual partner (B)0.709
2012Using a condom correctly every time having sex ( C )0.711
2012At least 2 out of 3 ways of ABC prevention0.727

Column legend

Title
Column name
Data type
Unit of measure
Description
YearyearDatetime (Year) "YYYY"--
Knowledge on HIV/AIDS Preventionhiv_aids_knowledgeText (General)--
ProportionproportionNumeric (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_eb4be8c8e136b255a7b6a4e7d5e73964"
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

13 Jun 2016

Licence

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

Agency

HPB (Health Promotion Board)

Dataset usage

114
Views
3
Downloads
22
API calls