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