check_cc {dialr} | R Documentation |
Check ISO country code
Description
Check whether an ISO country code is valid.
Usage
check_cc(country)
Arguments
country |
A character vector of ISO country codes. |
Value
A logical vector flagging which elements are valid codes.
Examples
check_cc(c("AU", "US", "CN", "WRONG", NA))
[Package dialr version 0.4.2 Index]