Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thiyangt/covid19srilanka

Data related to covid-19 pandemic in Sri Lanka
https://github.com/thiyangt/covid19srilanka

Last synced: 20 days ago
JSON representation

Data related to covid-19 pandemic in Sri Lanka

Awesome Lists containing this project

README

        

---
output: github_document
---

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

# covid19srilanka

The covid19srilanka package provides a tidy format dataset of the 2019 Novel Coronavirus COVID-19 (2019-nCoV) epidemic in Sri Lanka

## Installation

You can install the development version from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("thiyangt/covid19srilanka")
```
## Example

```{r}
library(coronavirus)
```

## Covid-19 Cases in Sri Lanka

```{r}
data("covid.cases")
head(covid.cases)
tail(covid.cases)
```

## District-wise Covid-19 Cases in Sri Lanka

```{r}
data("district.wise.cases")
head(district.wise.cases)
```

## Vaccination Details in Sri Lanka

```{r}
data("vaccination")
head(vaccination)
```

# Example

```{r}
library(tidyverse)
covid.cases %>% filter(Type=="Confirmed") %>% ggplot(aes(x=Date, y=Count)) + geom_line() + ggtitle("Covid-19 confirmed cases in Sri Lanka")
```