| checkNamesDE | R Documentation | 
Check the differences between the names (or codes) given in input and the names (or codes), of the corresponding selected Germany statistical unit.
checkNamesDE(id, unit = c("state", "district", "municipal", "municipality"), 
             matchWith = c("name", "code", "code_full"), return_logical = FALSE, 
             print = TRUE, use_internet = TRUE)
| id | character vector with names or codes | ||||||
| unit | the type of European statistical unit to check | ||||||
| matchWith | the type of id to check: 
 | ||||||
| return_logical | a logical value indicating whether nomatched id are returned. | ||||||
| print | a logical value indicating whether print the nomatched names | ||||||
| use_internet | a logical value indicating wheter the coordinates are downloaded from https://github.com/mappinguniverse/geospatial. If  | 
The function provides a check between id name or code in the dataset and the corresponding selected Germany statistical unit. unit starts from the largest aggregate, "state", to the smallest, "municipality".
Returns a string vector with nomatched names or a boolean vector indicating whether or not the id matched.
Alessio Serafini
checkNamesEU, checkNamesUS, checkNamesWR, checkNamesUK
data("popDE")
ck <- checkNamesDE(popDE$code_state, unit = "state", matchWith = "code_full")
str(ck)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.