/Covid19

Fetches Covid19 data and shows it.

Primary LanguageROtherNOASSERTION

Covid19

Travis build status CRAN status Lifecycle: stable

Covid19 is an R package that fetches corona data from John Hopkins University and updates it daily. You can also plot this data in different ways country by country and date by date. The goal of Covid19 is to present the latest corona data in the best, simplest and most comprehensible way possible.

Installation

You can install the released version of Covid19 from CRAN with:

install.packages("Covid19")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("kian79/Covid19")

Example

This is a basic example which shows you how to solve a common problem:

library(Covid19)
## basic example code
plot_country_data(start_date = '2-22-2020', end_date = '10-27-2020', country1 = 'Iran', type1='confirmed')

plot_world_map(day1 = 27,month1=10,year1=20,type1='confirmed')