Nothing
Code
out <- mn_join(pop, by = "Region", level = "aimag")
Message
i Joining at the aimag level; dropped 6 rows for larger units ("country" and "region") and 2196 rows for smaller units ("soum" and "bag").
Code
out <- mn_join(pop, Region, within = "Ulaanbaatar")
Message
i Joining at the bag level; dropped 371 rows for larger units ("country", "region", "aimag", and "soum").
Code
out <- mn_join(df, "place", level = "aimag")
Condition
Warning:
1 value could not be matched and became "NA":
* Narnia
Code
out <- mn_join(villages, "code", level = "soum")
Message
i 1 matched place has no boundary and is left out:
* Khatgal (MN6770, Khuvsgul)
i Villages and rural bags have NSO codes but no public boundary; see `?mongolmaps::mn_bags()`.
Code
mn_join(list(a = 1), "a")
Condition
Error in `mn_join()`:
! `data` must be a data frame, not a list.
Code
mn_join(pop, "Province")
Condition
Error in `mn_join()`:
! Column Province is not in `data`.
Code
mn_join(pop, "Region", by_parent = "Aimag")
Condition
Error in `mn_join()`:
! Column Aimag is not in `data`.
by_parent is a single stringCode
mn_join(pop, "Region", by_parent = 1)
Condition
Error in `mn_join()`:
! `by_parent` must be a single string.
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.