timeSeries: Aggregate time series fatality data from the Vestry report.

View source: R/timeSeries.R

timeSeriesR Documentation

Aggregate time series fatality data from the Vestry report.

Description

Aggregate time series fatality data from the Vestry report.

Usage

timeSeries(vestry = FALSE)

Arguments

vestry

Logical. TRUE returns the data from the Vestry committee (Appendix B, p. 175). FALSE returns John Snow's contribution to the report (p.117).

Value

A R list with two objects: "data" and "source" ("snow" or "vestry").

  • date: Calendar date.

  • day: Day of the week.

  • deaths: Measure of fatality.

  • fatal.attacks: Measure of fatality.

Note

The "snow" data appears on p. 117 of the report; the "vestry" data appear in Appendix B on p.175.

See Also

plot.time_series, print.time_series, vignette("time.series")

Examples

timeSeries(vestry = TRUE)
plot(timeSeries())

cholera documentation built on March 7, 2023, 5:31 p.m.