Skip to contents

Convert accidda_fcast to RespiLens format

Usage

to_respilens(accidda_fcast, path = NULL)

Arguments

accidda_fcast

An object of class accidda_fcast, the output of get_fcast().

path

Optional file path to write the JSON output to. Must end with .json. If NULL, the output is not written to disk.

Value

A named list with a single metadata JSON structure and one JSON structure per location.