cholera (version 0.8.0)

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

Description

Aggregate time series fatality data from the Vestry report.

Usage

timeSeries(vestry = FALSE)

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.

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).

See Also

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

Examples

Run this code
timeSeries(vestry = TRUE)
plot(timeSeries())

Run the code above in your browser using DataLab