to.ISO3 {PolarCAP}R Documentation

Convert Country Names for PolarCAP Retrieval

Description

Checks if requested countries are formatted correctly for PolarCAP and attempts to convert them to ISO 3166-1 alpha-3 country codes if not.

Usage

to.ISO3(countries)

Arguments

countries

a character vector of countries to be checked (case-insensitive).

Value

a character vector of length equal to that of countries.

Examples

to.ISO3(c("ALB", "aus", "united states"))


[Package PolarCAP version 1.0.1 Index]