Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.25 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.25 KB

Nowcasting examples

This repository contains two example approaches to nowcasting, one using the EpiNow2 package, and one using the epinowcast package which is currently being developed to eventually replace EpiNow2 for real-time applications.

Installation

You can install the utility functions contained in this repo with

# install.packages("devtools")
devtools::install_github("epiforecasts/nowcasting.example")

Render the EpiNow2 report

To render the report, run

rmarkdown::render("inst/reports/epinow2.Rmd")

Afterwards the report can be viewed in inst/reports/epinow2.html. A rendered version of the report is also available in the repository.

Render the epinowcast report

To render the report, run

rmarkdown::render("inst/reports/epinowcast.Rmd")

Afterwards the report can be viewed in inst/reports/epinowcast.html. A rendered version of the report is also available in the repository.

Create mock dataset

A mock dataset can be created using

source("inst/scripts/create_mock_dataset.r")