README.md

euromomo

Developement branch for the EuroMoMo hackathon

Installing

If you just want to install the file, use

library("devtools") # make sure you have this package installed first
install_github("thl-mjv/euromomo")

Using & Testing

  1. Install the package
  2. Create defaults.txt using this as an example. Most important bits are
  3. Nomenclature (Country, Counties, Institution). These will affect the outputs
  4. WorkDirectory: The outputs will be created in subdirectories of this directory. It may be advisable to use absolute path. If ".", the directory where R is run is used.
  5. InputFile: The mortality data with variable DoD, DoR and age as well as whatever you may want to include. First line must have the variable names. Use ";" as separator. Date format must be "YYYY-MM-DD". Use either full path or path relatively to directory where R is run.
  6. HolidayFile: The bank holidays file similar to InputFile with variables date and closed, latter being 1 if full bank holiday.
  7. Create master momo file using this as an example and run. Usually only thing you need to change is the path to "defaults.txt" in parseDefaultsFile("defaults.txt").
  8. Send the outputs to

Developing

See developing guidelines



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