Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/thiyangt/covid19srilanka
- Owner: thiyangt
- License: other
- Created: 2021-10-18T02:21:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-12T09:35:50.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T04:59:38.117Z (2 months ago)
- Language: R
- Homepage:
- Size: 318 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
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%"
)
```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")
```