I have been using osmdata to pull in OpenStreetMap data. The queries that I have been running are too large and some data sets are missing.
bbuk <- getbb("Great Britain")
x <- bbuk %>%
opq(timeout = 25*1000)%>%
add_osm_feature("plant:source","wind") %>%
osmdata_sf()
y <- bbuk %>%
opq(timeout = 25*100)%>%
add_osm_feature("power","line") %>%
osmdata_sf()
osmextract seems a better alternative but I cant figure out how to make the query specific for oe_get()
library(osmextract)
place_name = "Great Britain"
et = c("amenity")
q_points = "SELECT * FROM multipolygon WHERE power IN ('wind')"
oe_school_points = oe_get(place_name, query = q_points, extra_tags = et)
Is there a source to structure the query in oe_get() to pull in the specific data from the pdf that is needed>
Thanks,