Skip to content

Commit 1677c50

Browse files
committed
⚡ Call data directly from package
1 parent d9ca9cc commit 1677c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/fetch-roads.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fetch_roads <- function(bbox, crop = TRUE) {
2929
query <- add_osm_feature(
3030
opq(bbox),
3131
key = "highway",
32-
value = data("osm_highway_values", package = "pavement")
32+
value = pavement::osm_highway_values
3333
)
3434
data <- osmdata_sf(query)
3535
lines <- data$osm_lines

0 commit comments

Comments
 (0)