plotWorldMap: plotWorldMap

Description Usage Arguments Examples

View source: R/plotWorldMap.R

Description

This function plots a choropleth map of the world showing the spread of coronavirus in a specific time period

Usage

1
plotWorldMap(dateRange, type)

Arguments

dateRange

a date vector of length 1 or 2. if one element is passed, indicates a single day. if two elements are passed, indicates a sequence of days between two days.

type

type of the coronavirus case. one of "Confirmed" or "Death"

Examples

1
2
3
plotWorldMap(c("2020/03/26","2020/05/12"), type = "Confirmed")

plotWorldMap(c("2020/06/21"), type = "Death")

PlasterPate/covid19Tracker documentation built on Dec. 31, 2020, 4:18 p.m.