cholera0.8.0 package

Amend, Augment and Aid Analysis of John Snow's Cholera Map

pumpLocator

Locate water pump by numerical ID.

roadSegmentFix

Bar orientation classification errors.

roadSegments

Reshape 'roads' data frame into 'road.segments' data frame.

segmentHighlight

Highlight segment by ID.

segmentLength

Compute length of road segment.

addCase

Add observed case(s) to plot.

addDelaunay

Add Delaunay triangles.

addEuclideanPath

Add the path for the Euclidean distance between cases and/or pumps.

addFrame

Add map border to plot.

addIndexCase

Highlight index case at 40 Broad Street.

addKernelDensity

Add 2D kernel density contours.

addLandmarks

Add landmarks to plot.

addMilePosts

Add distance or time based "mileposts" to an observed walking neighbor...

addNeighborhoodCases

Add observed cases by neighborhood.

addNeighborhoodEuclidean

Add expected Euclidean pump neighborhoods.

addNeighborhoodWalking

Add expected walking neighborhoods.

addPlaguePit

Add plague pit (Marshall Street).

addPump

Add selected pump(s) to plot.

addRoads

Add all streets and roads to plot.

addSnow

Adds Snow's graphical annotation of the Broad Street pump walking neig...

addVoronoi

Add Voronoi cells.

addWalkingPath

Add the shortest walking path between a selected cases or pumps.

addWhitehead

Add Rev. Henry Whitehead's Broad Street pump neighborhood.

caseDistance

Compute distance between case fatalities.

caseLocator

Locate case by numerical ID.

cholera-package

cholera: amend, augment and aid analysis of John Snow's cholera map

euclideanPath

Compute path of the Euclidean distance between cases and/or pumps.

fixFatalities

Fix errors in Dodson and Tobler's digitization of Snow's map.

isoLines

Plot isochrone and isodistance regions (prototype)

landmarkData

Landmark data.

latlongAddress

Compute latitude and longitude of case "addresses" (prototype).

latlongFatalities

Compute latitude and longitude of non-address fatalities (prototype).

latlongLandmarks

Compute Georeferenced Latitude and Longitude (prototype).

latlongNearestPump

Compute shortest georeferenced distances (and walking paths) to select...

latlongNeighborhoodData

Compute network graph of roads, cases and pumps.

latlongNeighborhoodVoronoi

Compute Voronoi pump neighborhoods (lat-long prototype).

latlongNeighborhoodWalking

Compute walking path pump neighborhoods.

latlongPumps

Compute Georeferenced Latitude and Longitude (prototype).

latlongRoads

Compute latitude and longitude for unique road segment endpoints (prot...

latlongVoronoi

Compute Georeferenced Latitude and Longitude of vertices of Voronoi po...

latlongWalkingPath

Plot walking path to nearest pump (prototype).

mapRange

Compute xlim and ylim of Snow's map.

nearestPump

Compute shortest distances or paths to selected pumps.

neighborhoodData

Compute network graph of roads, cases and pumps.

neighborhoodEuclidean

Compute Euclidean path pump neighborhoods.

neighborhoodVoronoi

Compute Voronoi pump neighborhoods.

neighborhoodWalking

Compute walking path pump neighborhoods.

oxfordWeather

Weather data recorded in Oxford (Met Office UK).

plot.euclidean

Plot method for neighborhoodEuclidean().

plot.euclidean_path

Plot the path of the Euclidean distance between cases and/or pumps.

plot.latlong_neighborhood_data

Plot method for latlongNeighborhoodData().

plot.latlong_walking

Plot method for latlongNeighborhoodWalking().

plot.latlong_walking_path

Plot the walking path between selected cases and/or pumps.

plot.latlongNeighborhoodVoronoi

Plot method for latlongNeighborhoodVoronoi()

plot.neighborhood_data

Plot method for neighborhoodData().

plot.oxfordWeather

Plot method for oxfordWeather().

plot.povertyLondon

Plot method for povertyLondon().

plot.profile_perspective

Plot method for profilePerspective().

plot.time_series

Plot aggregate time series data from Vestry report.

plot.voronoi

Plot Voronoi neighborhoods.

plot.walking

Plot method for neighborhoodWalking().

plot.walking_path

Plot the walking path between selected cases and/or pumps.

plot.winterTemperatures

Plot method for winterTemperatures().

povertyLondon

Poverty and Born in London.

print.euclidean

Print method for neighborhoodEuclidean().

print.euclidean_path

Print method for euclideanPath().

print.iso

Print method for isoVertices().

print.latlong_walking_path

Print method for latlongWalkingPath().

print.latlongNeighborhoodVoronoi

Print method for latlongNeighborhoodVoronoi().

print.time_series

Print summary data for timeSeries().

print.voronoi

Print method for neighborhoodVoronoi().

print.walking

Print method for neighborhoodWalking().

print.walking_path

Print method for walkingPath().

profile2D

2D Profile .

profile3D

3D Profile.

pumpCase

Extract numeric case IDs by pump neighborhood.

pumpData

Compute pump coordinates.

pumpFatalities

Compute fatalities by pump.

segmentLocator

Locate road segment by ID.

simulateFatalities

Generate simulated fatalities.

simulateWalkingDistance

Compute walking distance for simulated cases.

snowColors

Create a set of colors for pump neighborhoods.

snowMap

Plot John Snow's cholera map.

snowNeighborhood

Plotting data for Snow's graphical annotation of the Broad Street pump...

streetHighlight

Highlight road by name.

streetLength

Compute length of selected street.

streetNameLocator

Locate road by name.

streetNames

Street names (alphabetized).

streetNumberLocator

Locate road by numerical ID.

subsetRoadsSamples

Sample for road segment endpoints.

summary.euclidean

Summary method for neighborhoodEuclidean().

summary.voronoi

Summary method for neighborhoodVoronoi().

summary.walking

Summary method for neighborhoodWalking().

timeSeries

Aggregate time series fatality data from the Vestry report.

unitMeter

Convert nominal map distance to meters or yards.

unstackFatalities

Unstack "stacks" in Snow's cholera map.

voronoiPolygons

Extract vertices of Delaunay triangles and Dirichelet (Voronoi) tiles.

walkingPath

Compute the shortest walking path between cases and/or pumps.

winterTemperatures

Average Winter Temperatures.

Amends errors, augments data and aids analysis of John Snow's map of the 1854 London cholera outbreak.

  • Maintainer: Peter Li
  • License: GPL (>= 2)
  • Last published: 2023-03-01