R/global_recovered_daily.R
global_recovered_daily.Rd
This functions pulls global recovered COVID-19 data from John Hopkins GitHub repository downloads it and transpose it so that it is tidy. No data is stored within the package, so the data should continuously update over time as long as the links do not change.
global_recovered_daily()
A dataframe/tibble
Website:
- https://github.com/CSSEGISandData/COVID-19
- https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_recovered_global.csv
recovered <- R.COVID.19::global_recovered_daily()#>#> #> #>#>head(recovered)#> # A tibble: 6 x 6 #> `Province/State` `Country/Region` Lat Long greg_d recovered_cases #> <chr> <chr> <dbl> <dbl> <chr> <dbl> #> 1 NA Afghanistan 33.9 67.7 1/22/20 0 #> 2 NA Afghanistan 33.9 67.7 1/23/20 0 #> 3 NA Afghanistan 33.9 67.7 1/24/20 0 #> 4 NA Afghanistan 33.9 67.7 1/25/20 0 #> 5 NA Afghanistan 33.9 67.7 1/26/20 0 #> 6 NA Afghanistan 33.9 67.7 1/27/20 0