View source: R/streetNumberLocator.R
streetNumberLocator | R Documentation |
Highlight a road and its cases. See cholera::roads
for numerical IDs and vignette
("road.names") for details.
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)
road.number |
Numeric or integer. A whole number between 1 and 528. |
zoom |
Logical or Numeric. A numeric value >= 0 controls the degree of zoom. The default is FALSE, which is equivalent to zero. |
cases |
Character. Plot cases: |
token |
Character. "id" or "point". |
add.title |
Logical. Include title. |
add.subtitle |
Logical. Include subtitle with road information. |
add.pump |
Logical. Include nearby pumps. |
vestry |
Logical. |
highlight |
Logical. Highlight selected road and its cases. |
distance.unit |
Character. Unit of measurement: "meter" or "yard". Default is |
time.unit |
Character. "hour", "minute", or "second". |
walking.speed |
Numeric. Walking speed in km/hr. |
A base R graphics plot.
streetNumberLocator(243) streetNumberLocator(243, zoom = TRUE) streetNumberLocator(243, zoom = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.