Skip to contents

valid_codes() takes in a vector of country codes and returns a logical vector on whether that country code is present in countries[["iso3"]]

Usage

valid_codes(codes, type = "iso3")

Arguments

codes

Character vector of country codes.

type

A character value specifying the type of country code supplied. All possible values available through country_code_types().

Value

Logical vector.