Returns the Dodson and Tobler coordinates for the original thirteen pumps, appended with name of nearest road. Adds "approximate" locations for the fourteenth pump and the relocated Broad Street pump that are included in Snow's second version of the pump in the Vestry report.
pumpData(vestry = FALSE, orthogonal = FALSE, multi.core = FALSE)
Logical. TRUE uses the 14 pumps from the Vestry report. FALSE uses the 13 in the original map.
Logical. TRUE returns pump "addresses": the coordinates of the orthogonal projection from a pump's location onto the network of roads. FALSE returns pump location coordinates.
Logical or Numeric. TRUE uses parallel::detectCores(). FALSE uses one, single core. With Numeric, you specify the number logical cores (rounds with as.integer()). On Windows, only "multi.core = FALSE" is available.
An R dataframe.
This function documents the code that generates pumps
, pumps.vestry
, ortho.proj.pump
and ortho.proj.pump.vestry
.