Skip to contents

Convert a forecast to RespiLens format

Usage

to_respilens(x, path = NULL)

Arguments

x

An accidda_fcast from get_fcast.

path

Optional .json path to write to; if NULL, nothing is written.

Value

A named list (metadata, ground_truth, forecasts), invisibly.