wcde_location: Test if country code or codes are in wic_locations

View source: R/wcde_location.R

wcde_locationR Documentation

Test if country code or codes are in wic_locations

Description

Intended for internal use.

Usage

wcde_location(country_code, version = c("wcde-v3", "wcde-v2", "wcde-v1"))

Arguments

country_code

vector of integers representing country codes

Value

TRUE if all codes given to country_code are in wic_locations, FALSE if one or more are not.

Examples

wcde_location(country_code = c(-11, 44))
wcde_location(country_code = c(100, 44))
wcde_location(country_code = 3)

guyabel/wcde documentation built on April 17, 2025, 1:49 p.m.