Learn R Programming

dodgr (version 0.2.8)

hampi: hampi

Description

A sample street network from the township of Hampi, Karnataka, India.

Arguments

Format

A Simple Features sf data.frame containing the street network of Hampi.

Examples

Run this code
# NOT RUN {
hampi <- dodgr_streetnet("hampi india")
cols <- c ("osm_id", "highway", "oneway", "geometry")
hampi <- hampi [, which (names (hampi) %in% cols)]
# }
# NOT RUN {
# this 'sf data.frame' can be converted to a 'dodgr' network with
net <- weight_streetnet (hampi, wt_profile = 'foot')
# }

Run the code above in your browser using DataLab