knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of betterCallSal is to make you aware of what Covid-19 is doing to the world
You can install the released version of betterCallSal from CRAN with:
install.packages("betterCallSal")
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("zahrasalarian/betterCallSal")
This is a basic example which shows you how to solve a common problem:
library(betterCallSal) # Wrong format period = c("5-6-2020","7-8-2020") country = "US" plot <- betterCallSal::drawCovidPlot(period,country) #### # You Got error because your date format is not Correct # Correct format period = c("05-06-2020","07-08-2020") country = "US" plot <- betterCallSal::drawCovidPlot(period,country)
map <- betterCallSal::drawCovidMap("09-09-2020","Deaths") map
p <- betterCallSal::drawCovidPlot(c("04-05-2020","06-05-2020"),"US") p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.