format_ecdc_data.Rd
Format ECDC data for use with EpiNow analysis
format_ecdc_data(data = NULL)
data | data.frame returned by get_ecdc_cases function |
---|
data.frame with formatted ecdc case data by country
Joel Hellewell
format_ecdc_data(get_ecdc_cases(countries = "France"))#>#> # A tibble: 174 x 3 #> date region cases #> <date> <chr> <dbl> #> 1 2019-12-31 France 0 #> 2 2020-01-01 France 0 #> 3 2020-01-02 France 0 #> 4 2020-01-03 France 0 #> 5 2020-01-04 France 0 #> 6 2020-01-05 France 0 #> 7 2020-01-06 France 0 #> 8 2020-01-07 France 0 #> 9 2020-01-08 France 0 #> 10 2020-01-09 France 0 #> # … with 164 more rows