convert_idd_file_to_standard_format: Convert from IDD formatted files to standard APL Output...

Description Usage Arguments Value Examples

View source: R/conversion_functions.R

Description

This function will convert a idd-formatted file to standard APL model output, and optionally, save as a new file in same path

Usage

1
convert_idd_file_to_standard_format(fname, writefile = F, useCases = T)

Arguments

fname

string path to filename to convert

writefile

default is FALSE, use TRUE to write to file (in same path)

useCases

default is TRUE. This will look specifically at "confirmed" and "cum_confirmed" as the columns to be used for confirmed cases (previously, the package looked by default as infections and cum_infections, which were then manipulated to estimate confirmed cases, for example, using the hospscalar parameter in plotting functions)

Value

Either returns the converted data frame if writefile=FALSE, otherwise, returns the name of the newly written file

Examples

1
2

lmullany/iddplotting documentation built on July 26, 2020, 8:05 p.m.