check_ISO_code: check country codes

View source: R/check_ISO_code.R

check_ISO_codeR Documentation

check country codes

Description

Checks if the country code entered is a valid country code that data exists for

Usage

check_ISO_code(iso)

Arguments

iso

The 3 letter country code based on ISO3 Country abbreviations (http://unstats.un.org/unsd/methods/m49/m49alpha.htm)

Value

TRUE if a valid code, otherwise an error is returned

Examples

## Not run: 
check_ISO_code("USA")

## End(Not run)


ropensci/rWBclimate documentation built on Sept. 4, 2024, 5:53 p.m.