Get exact spelling of locations at the same administrative level.
searchLocations(locations_to_search, admin_level)
vector or list of location (World Bank region, country, state/province, metropolitan area, county) name(s) at the same administrative level
an integer representing an administrative level (World Bank regions = -1, countries = 0, states/provinces = 1, metropolitan areas = 1.5, counties = 2)
a vector or list of location names
searchLocations(c("California", "Florida", "Texas"), admin_level=1)
#> [1] "California" "Florida" "Texas"