Learn R Programming

occTest (version 0.1.1)

ctryToIso3: Convert country names to ISO3 codes

Description

Froma character it uses different methods to derive country ISO3 digit codes

Usage

ctryToIso3(x, method = "countrycode")

Arguments

x

character. country name

method

character. Package name used to derive IS03 codes. Options are 'countrycode' (default) or 'GNRS'.

Author

Josep M Serra-Diaz (pep.serradiaz@agroparistech.fr) (adpatation)
countrycode-package Vincent Arel-Bundock vincent.arel-bundock@umontreal.ca ,
GNRS Brad Boyle, Brian Maitner

Details

right now not implemented with fuzzy matching, but is case insensitive. Methods implemented, 'countrycode' and 'GNRS'

See Also

countrycode and GNRS

Other spStatus: nativeStatusCtry()