Guess the code/name of a vector¶
guess_field¶
Description¶
Users sometimes do not know what kind of code or field their data
contain. This function tries to guess by comparing the similarity
between a user-supplied vector and all the codes included in the
countrycode dictionary.
Usage¶
Arguments¶
| Arguments | Description |
|---|---|
| codes | a vector of country codes or country names |
| min_similarity | the function returns all field names where over than min_similarity countrycode dictionary. |