Get Total Cases by Country

get_total_cases(source = "WHO")

Arguments

source

Character String specifying data source for total cases "WHO", "ECDC", default: "WHO".

Value

Returns a data frame of variables along with their most recent value.

Examples

## Total cases sourced from the WHO get_total_cases(source = "WHO")
#> Warning: 'autostart' is now deprecated and ignored. Consider skip='string' or skip=n
#> # A tibble: 253 x 2 #> country cases #> <chr> <dbl> #> 1 UnitedStatesofAmerica 163199 #> 2 Italy 105792 #> 3 Spain 94417 #> 4 China 82631 #> 5 Germany 67366 #> 6 France 51477 #> 7 Iran 44606 #> 8 UnitedKingdom 25154 #> 9 Switzerland 16108 #> 10 Turkey 13531 #> # … with 243 more rows
## Total cases sourced from ECDC get_total_cases(source = "ECDC")
#> # A tibble: 203 x 2 #> country cases #> <chr> <dbl> #> 1 United_States_of_America 245540 #> 2 Italy 115242 #> 3 Spain 110238 #> 4 China 82465 #> 5 Germany 73522 #> 6 France 59105 #> 7 Iran 50468 #> 8 United_Kingdom 33718 #> 9 Switzerland 18844 #> 10 Turkey 18135 #> # … with 193 more rows