Monthly landings of marine fish by state and coast from 2018 to 2023.
0 viewsΒ·0 downloads
Data on landings of marine fish in Malaysia is collected via establishment-level surveys and censuses conducted by the Department of Fisheries (DOF). Accordingly, this data reflects the production of establishments registered with the DOF only. In layperson terms, this means that the fish caught by individuals fishing for personal consumption are not included in this data.
It should be noted that W.P. Kuala Lumpur and W.P. Putrajaya are excluded from the data as they do not have coastlines. Classification by coast and state is conducted based on the location of where the fish was landed, not where it was caught or the registered address of the establishment. In general, fisheries data for Malaysia is published based on landings, not catches.
National totals may be slightly different to the sum of state values due to rounding.
β
Monthly landings of marine fish by state and coast from 2018 to 2023.
Name in Dataset | Variable | Definition |
---|---|---|
date (Date) | Date | The date in YYYY-MM-DD format, with DD set to 01 as the data is at monthly frequency |
coast (Categorical) | Coast | The coast where the fish was landed; either all coasts ('all'), the east coast of Peninsular Malaysia ('east'), west coast of Peninsular Malaysia ('west') or Borneo ('borneo') |
state (Categorical) | State | The state where the fish was landed; one of 14 states (excludiing W.P. Kuala Lumpur and W.P. Putrajaya, which do not have coastlines) or Malaysia (included for ease of analysis). It should be noted that Johor is a part of both the east and west coast data. |
landings (Float) | Landings | The total landings of marine fish in metric tonnes |
01 Sept 2024, 12:00
N/A
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/agriculture/fish_landings.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=fish_landings&limit=3"
response_json = requests.get(url=url).json()
pprint.pprint(response_json)
Β© 2024 Public Sector Open Data