R/cc.R
check_cc.Rd
Check whether an ISO country code is valid.
check_cc(country)
A character vector of ISO country codes.
A logical vector flagging which elements are valid codes.
check_cc(c("AU", "US", "CN", "WRONG", NA)) #> [1] TRUE TRUE TRUE FALSE FALSE