data("popEU")
data("popEUnuts2")
# Chech only the country
ck <- checkNamesEU(id = popEU$GEO,
unit = "nuts0", matchWith = "id")
ck1 <- checkNamesEU(id = popEU$GEO, unit = "nuts0",
matchWith = "id", return_logical = TRUE,
print = FALSE)
popEU[ck1,]
ck2 <- checkNamesEU(id = popEUnuts2$GEO,
unit = "nuts2",
matchWith = "id")
Run the code above in your browser using DataLab