Monthly foreign arrivals in Malaysia by nationality and sex.
0 views·0 downloads
The Immigration Department of Malaysia operates the Malaysian Immigration System (MyIMMs), which is used to record arrivals and departures by air, land, and sea at all international points of entry to Malaysia. The dataset shown here is aggregated from the transactional data stored in MyIMMs, which is the single source of truth for movement in and out of Malaysia.
This data is based solely on records in MyIMMS. Furthermore, it should be noted that approximately 0.01% of arrivals do not have a nationality specified, including stateless individuals and refugees.
Our site features a dashboard on immigration where you can explore this data in a more interactive manner.
Monthly foreign arrivals in Malaysia by nationality and sex.
Name in Dataset | Variable | Definition |
---|---|---|
date (Date) | Date | Date in YYYY-MM-DD format, with DD set to 01 as this is monthly data |
country (String) | Nationality | Standardised ISO-3 code representing the nationality of individuals entering Malaysia. The code XXX is used to represent arrivals where no nationality was specified, including diplomats, stateless individuals and refugees. |
arrivals (Integer) | Arrivals | Number of people, derived as the sum of male and female arrivals |
arrivals_male (Integer) | Male Arrivals | Number of male arrivals |
arrivals_female (Integer) | Female Arrivals | Number of female arrivals |
28 Oct 2024, 16:00
25 Nov 2024, 16:00
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.
Full Dataset (CSV)
Recommended for individuals seeking an Excel-friendly format.
0
Full Dataset (Parquet)
Recommended for data scientists seeking to work with data via code.
0
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/demography/arrivals.parquet'
df = pd.read_parquet(URL_DATA)
if 'date' in df.columns: df['date'] = pd.to_datetime(df['date'])
print(df)
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=arrivals&limit=3"
response_json = requests.get(url=url).json()
pprint.pprint(response_json)
© 2024 Public Sector Open Data