powered by
Highlight selected water pump.
pumpLocator(id = 7, zoom = FALSE, vestry = FALSE, add.title = TRUE, highlight.segment = TRUE, latlong = FALSE)
A base R graphics plot.
Numeric or Integer. With vestry = TRUE, a whole number between 1 and 14. With vestry = FALSE, a whole number between 1 and 13. See cholera::pumps.vestry and cholera::pumps for IDs and details about specific pumps.
vestry = TRUE
vestry = FALSE
cholera::pumps.vestry
cholera::pumps
Logical or Numeric. Positive numbers zoom in; negative numbers zoom out.
Logical. TRUE for the 14 pumps from Vestry Report. FALSE for the original 13 pumps.
TRUE
FALSE
Logical. Include title.
Logical. Highlight case's segment.
Logical. Use longitude and latitude.
pumpData
pumpLocator() pumpLocator(zoom = TRUE) pumpLocator(14, vestry = TRUE, zoom = TRUE)
Run the code above in your browser using DataLab