Learn R Programming

cholera (version 0.9.1)

road.segments: Dodson and Tobler's street data transformed into road segments.

Description

This data set transforms Dodson and Tobler's street data to give each straight line segment of a "road" a unique ID.

Usage

road.segments

Arguments

Format

A data frame with 658 observations and 11 variables. The data describe the straight line segments used to recreate the roads on Snow's map.

street

numeric street ID

id

character segment ID

name

road name

x1

x-coordinate of first endpoint

y1

y-coordinate of first endpoint

x2

x-coordinate of second endpoint

y2

y-coordinate of second endpoint

lon1

longitude of first endpoint

lat1

latitude of first endpoint

lon2

longitude of second endpoint

lat2

latitude of second endpoint

See Also

roads

vignette("road.names")

streetNameLocator

streetNumberLocator

segmentLocator