library(tibble, quietly = TRUE)
net = as_sfnetwork(roxel)
# Extract the active network element as a spatial tibble.
as_tibble(net)
# Extract any network element as a spatial tibble.
as_tibble(net, "edges")
# Extract the active network element as a regular tibble.
as_tibble(net, spatial = FALSE)
Run the code above in your browser using DataLab