
Find conflicting admin mappings
find_conflicting_admins.RdIdentifies child admin units that map to multiple parent admin units.
Usage
find_conflicting_admins(
pop_data,
child_admin_col,
parent_admin_col,
return_details = FALSE
)Arguments
- pop_data
tibblePopulation dataset.- child_admin_col
strColumn name of the next lower admin column. For example, "Admin2GUID" ifpop_datacontains the province population dataset.- parent_admin_col
strParent admin column. For example, "Admin1GUID" ifpop_datacontains the province population dataset.- return_details
logicalIf TRUE, returns a tibble with conflicting parent GUIDs per child. If FALSE, returns the child GUIDs with multiple parents.