Drug Addicts by State & Occupation

Data as of 2023

This dataset managed by the National Anti-Drugs Agency (NADA) in collaboration with the Department of Statistics Malaysia (DOSM), provides annual statistics on drug addiction in Malaysia. It presents data at both the national and state levels, offering insights into trends and demographic breakdowns of drug addiction by occupation. This information is crucial for understanding the impact of drug addiction across different occupational sectors and aids in policy-making and intervention strategies.

0 views·0 downloads

How is this data produced?

The data is collected and compiled annually by the National Anti-Drugs Agency (NADA) and the Department of Statistics Malaysia (DOSM). It includes information on the number of drug addicts categorized by their occupation, covering both national and state levels. The dataset is updated yearly to reflect current trends and demographic shifts in drug addiction across different occupational groups.

What caveats I should bear in mind when using this data?

The dataset may contain missing values for certain occupations or states due to data collection limitations. Additionally, the occupation categories are not exhaustive and may not cover all possible job roles. Users should exercise caution when interpreting trends or making comparisons across different regions or years.

Metadata

Dataset description

This dataset managed by the National Anti-Drugs Agency (NADA) in collaboration with the Department of Statistics Malaysia (DOSM), provides annual statistics on drug addiction in Malaysia. It presents data at both the national and state levels, offering insights into trends and demographic breakdowns of drug addiction by occupation. This information is crucial for understanding the impact of drug addiction across different occupational sectors and aids in policy-making and intervention strategies.

Variable definitions
  • Year
  • State
  • Occupation
  • Number of Addicts
Last updated:

31 Dec 2023, 00:00

Next update:

N/A

Data source(s)
  • National Anti-Drugs Agency
  • Ministry of Home Affairs
License

This data is made open under the Creative Commons Attribution 4.0 International License (CC BY 4.0). A copy of the license is available Here.

Download

Data
Full Dataset (CSV)

Full Dataset (CSV)

Recommended for individuals seeking an Excel-friendly format.

0

Full Dataset (Parquet)

Full Dataset (Parquet)

Recommended for data scientists seeking to work with data via code.

0

Code

Connect directly to the data with Python.

# If not already installed, do: pip install pandas fastparquet import pandas as pd URL_DATA = 'https://storage.data.gov.my/publicsafety/drug_addicts_occupation.parquet' df = pd.read_parquet(URL_DATA) if 'date' in df.columns: df['date'] = pd.to_datetime(df['date']) print(df)

Sample OpenAPI query

The following code is an example of how to make an API query to retrieve the data catalogue mentioned above. You can use different programming languages by switching the code accordingly. For a complete guide on possible query parameters and syntax, please refer to the official Open API Documentation.

import requests import pprint url = "https://api.data.gov.my/data-catalogue?id=drug_addicts_occupation&limit=3" response_json = requests.get(url=url).json() pprint.pprint(response_json)