get_city_boundaries(city, country, admin_level = 6,
  administrative = NULL, cache = TRUE)

Arguments

city

The name of a city/municipality.

country

The name of the country. Requested to ensure correct identification of city.

admin_level

Defaults to 6. For more information see: https://wiki.openstreetmap.org/wiki/Tag:boundary

administrativeDefaults to NULL. If TRUE, filters only boundaries recorded as administrative. For more information, see: https://wiki.openstreetmap.org/wiki/Tag cacheLogical, defaults to TRUE. If TRUE, stores data in local subfolder data/cities/country_name/city_name.rds An sf polygon. Get city boundaries get_city_boundaries(search = "Sibiu, Romania")