fs2m49: FS to M49 Codes

Description Usage Arguments Value Examples

Description

This function maps FS to M49 (country) codes using the table defined within the SWS.

Usage

1
fs2m49(fsCodes)

Arguments

fsCodes

A character vector containing the FS codes.

Value

A character vector whose ith element is the M49 code corresponding to the passed FS code in position i. If no valid mapping is found, an NA is returned in this place.

Examples

1
2
3
4
5
## Not run: 
fs2m49(c("1", "2", "3", "4"))
m492fs(fs2m49(c("1", "2", "3", "4")))

## End(Not run)

SWS-Methodology/faoswsUtil documentation built on May 9, 2019, 11:53 a.m.