Nothing
Code
out <- mn_match(c("Ulanbaatr", "Dornogobii"))
Message
i Matched 1 value approximately; please check:
* Ulanbaatr > Ulaanbaatar (MN11)
Code
out <- mn_match("Ulanbaatr", fuzzy = FALSE)
Condition
Warning:
1 value could not be matched and became "NA":
* Ulanbaatr
withinCode
out <- mn_match("Bayan-Uul", level = "soum")
Condition
Warning:
1 value matches more than one unit and became "NA":
* Bayan-Uul: Bayan-Uul (MN2110, Dornod); Bayan-Uul (MN8207, Govi-Altai)
i Use `within` (for example the aimag) to choose one.
Code
out <- mn_match(c("Paris", "Khovd", "Uvss aimag"))
Message
i Matched 1 value approximately; please check:
* Uvss aimag > Uvs (MN85)
Condition
Warning:
1 value could not be matched and became "NA":
* Paris (did you mean Dariv (MN8216, Govi-Altai)?)
level for codesCode
out <- mn_match("511", level = "soum")
Condition
Warning:
1 value could not be matched and became "NA":
* 511
Code
mn_match("x", level = "planet")
Condition
Error in `mn_match()`:
! `level` has an unknown level: "planet".
i Use one of "country", "region", "aimag", "soum", or "bag".
Code
mn_match("x", to = "code")
Condition
Error in `mn_match()`:
! `to` must be one of "pcode", "name_en", "name_mn", "name_mns", "iso_code", "nso_code", "level", or "type", not "code".
i Did you mean "pcode"?
Code
mn_match(c("a", "b", "c"), within = c("Khovd", "Uvs"))
Condition
Error in `mn_match()`:
! `within` must have length 1 or the same length as `x`.
Code
mn_match("Jargalant", within = "Atlantis")
Condition
Error in `mn_match()`:
! Can't resolve `within`.
x Atlantis matches nothing
i Use a code from `mn_codes()`, such as "MN84" for Khovd.
Code
out <- mn_match(c("aimag", "soum"))
Condition
Warning:
2 values could not be matched and became "NA":
* aimag
* soum
Code
out <- mn_match("1", level = "bag", within = "MN6770")
Condition
Warning:
1 value could not be matched and became "NA":
* 1
Code
out <- mn_match("Bayan-Uulx", level = "soum")
Condition
Warning:
1 value could not be matched and became "NA":
* Bayan-Uulx (did you mean Bayan-Uul (MN2110, Dornod); Bayan-Uul (MN8207, Govi-Altai)?)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.