powered by
Highlight a road and its cases. See cholera::roads for numerical IDs and vignette("road.names") for details.
cholera::roads
vignette
streetNumberLocator(road.number = 216, zoom = FALSE, cases = "address", token = "id", add.title = TRUE, add.subtitle = TRUE, add.pump = TRUE, vestry = FALSE, highlight = TRUE, distance.unit = "meter", time.unit = "second", walking.speed = 5)
A base R graphics plot.
Numeric or integer. A whole number between 1 and 528.
Logical or Numeric. A numeric value >= 0 controls the degree of zoom. The default is FALSE, which is equivalent to zero.
Character. Plot cases: NULL, "address" or "fatality".
NULL
Character. "id" or "point".
Logical. Include title.
Logical. Include subtitle with road information.
Logical. Include nearby pumps.
Logical. TRUE uses the 14 pumps from the Vestry report. FALSE uses the 13 in the original map.
TRUE
FALSE
Logical. Highlight selected road and its cases.
Character. Unit of measurement: "meter" or "yard". Default is NULL, which returns the map's native scale.
Character. "hour", "minute", or "second".
Numeric. Walking speed in km/hr.
streetNumberLocator(243) streetNumberLocator(243, zoom = TRUE) streetNumberLocator(243, zoom = 0.5)
Run the code above in your browser using DataLab