country | R Documentation |
Countries and various territories, defined by FAO (2025).
country
Data frame containing eight columns:
country | country code |
country_name | country name |
iso2 | ISO 2-alpha code |
iso3 | ISO 3-alpha code |
continent | continent |
georegion | geographic region |
ecoclass | economic class |
official | official country name |
This data frame contains the full set of 275 data records from the FishStat Country Groups data table. Column names have been simplified to facilitate quick exploration and plotting in R.
FAO (2025). Global Production. Fisheries and Aquaculture Division. Rome.
https://www.fao.org/fishery/en/collection/global_production
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.
head(country)
# Regions within continents
table(country$georegion, country$continent)
# Select country entries that have non-zero production
nonzero <- unique(production$country[production$value > 0])
country.nz <- country[country$country %in% nonzero,]
length(country.nz$country)
# Only country and country_name are always defined
cbind(sapply(country, function(x) all(x != "")))
# Columns defined for non-zero production
cbind(sapply(country.nz, function(x) all(x != "")))
# Economic class levels
sort(unique(country$ecoclass))
# Examine individual countries
print.simple.list(country[country$iso2 == "IS",])
print.simple.list(country[country$country_name == "Samoa",])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.