Draws the global map of daily covid-19 deaths or confirmed cases

drawCovidMap(date, type)

Arguments

date

the date of which you want the drawn map

type

type of the map. Either Deaths or Confirmed cases

Value

a leaflet map

Examples

mapOfCovid <- drawCovidMap("07-03-2020","Deaths")
#> Warning: package 'leaflet' was built under R version 4.0.3
#> Warning: package 'viridisLite' was built under R version 4.0.3
#> Warning: package 'readr' was built under R version 4.0.3
#> Warning: Data contains 74 rows with either missing or invalid lat/lon values and will be ignored