knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

covid19Tracker

CRAN status Lifecycle: stable License: MIT

The goal of covid19Tracker is to facilitate exploration of Coronavirus disease (COVID-19) dataset. The dataset is provided by JHU CSSE COVID-19 Data and is updated everyday.

The dataset includes new cases, cumulative cases, new deaths and cumulative deaths for each day. It also contains geographical coordinates(Lat,Long) for each country.

This package provides functions to:

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("PlasterPate/covid19Tracker")

Examples

Getting data

library(covid19Tracker)
dataset <- fetchData()
head(dataset)

Visualizing data

options(scipen = 999)
plotWorldMap(dateRange = c("2020-09-01", "2020-10-30"), type = "Confirmed")
plotCountryTimeline(dateRange = c("2020-01-01", "2020-12-29"), country = "Iran")


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