if (FALSE) {
# Using a location name
osm_data <- get_osm_data("Lausanne, Switzerland")
# Using coordinates for a bounding box
bbox_coords <- c(6.6, 46.5, 6.7, 46.6) # Example coordinates near Lausanne
osm_data <- get_osm_data(bbox_coords)
}
Run the code above in your browser using DataLab