readmomofile: Function to read a file with individual case data from file.

Description Usage Arguments Value

Description

The file needs to be a CSV file with at least columns the columns: DoD (Day of Death) and DoR (Day of Registration) and age (Age of individual who died). All Dates need to be in ISO 8601 format, i.e. YYYY-MM-DD.

Usage

1
readmomofile(dateFormat = "%Y-%m-%d")

Arguments

dateFormat

Format string specifying how the dates are formatted. Default: "%Y-%m-%d".

Value

Returns a list containing the elements

momo data.frame with all the relevant data. Note that only numberOfSeasons are kept.
dWeeks Vector of mondays corresponding to the weeks spanning the data
dLastFull Monday of the last full week in the data.

thl-mjv/euromomo documentation built on May 31, 2019, 10:43 a.m.