Guess which columns contain administrative units
Arguments
- shp
an sf tibble that you want to draw with
Value
a named list of types
Examples
guess_admins(dc)
#> $admin
#> [1] "vtd"
#>
#> $subadmin
#> character(0)
#>
#> $multi
#> [1] "vtd"
#>
#> $total
#> [1] "vtd"
#>