Plot a metric of interest using up-to-date COVID-19 data from outbreak.info for location(s) of interest (World Bank region, country, state/province, metropolitan area, county).
plotEpiData(locations, variable)
a vector or list of location names
metric to plot
ggplot2 object
p = plotEpiData("Florida", "confirmed_per_100k")
#> Florida (county)
#> Is this a location of interest? (Y/N):
#> Expected input is Y or N
#> Florida (county)
#> Is this a location of interest? (Y/N):
#> Florida (state/province)
#> Is this a location of interest? (Y/N):
#> Expected input is Y or N
#> Florida (state/province)
#> Is this a location of interest? (Y/N):
#> [1] "confirmed_per_100k is not a valid API field"
show(p)
#> NULL