if (FALSE) {
query <- opq ("colchester uk") |>
add_osm_feature (key = "highway")
# Then extract data from 'Overpass' API
dat <- osmdata_sf (query)
dat
# Then reduce to unique items of each type only:
dat <- unique_osmdata (dat)
dat
}
# And objects of each type (points, line, polygons, and so on) now have
# fewer members.
Run the code above in your browser using DataLab