Learn R Programming

fishstat (version 2025.1.0.0)

environment: Environments

Description

Aquatic environments for aquaculture, defined by FAO (2025).

Usage

environment

Arguments

Format

Data frame containing two columns:

environmentenvironment code
environment_nameenvironment name

Details

This data frame contains the full set of 4 data records from the FishStat Production Environment data table. Column names have been simplified to facilitate quick exploration and plotting in R.

See Also

aquaculture and capture data are also available in a combined production format.

area, country, environment, measure, source, species, and status are lookup tables.

fishstat-package gives an overview of the package.

Examples

Run this code
environment

# Aquaculture production by environment in 2023, in million tonnes
x <- merge(aquaculture, environment)
x <- aggregate(value~environment_name, x, sum, subset=year==2023)
transform(x, value=round(value/1e6))

Run the code above in your browser using DataLab