Learn R Programming

covid19india

covid19india is designed while working with data on COVID-19 in India. covid19india.org is a data resource with APIs available. It is updated daily and provides count, testing, and vaccine data at the national, state, and district level. This package eases the process for R users to obtain data ready for analysis in hopes of democratizing data science and speed up public health research.

:warning: The package is under active development. :warning: After creating functions for pulling data, additional functions to calculate basic public health metrics and data visualizations will be added.

Please share thoughts and comments with me: mmsalva@umich.edu or

Copy Link

Version

Install

install.packages('covid19india')

Monthly Downloads

269

Version

0.1.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Max Salvatore

Last Published

October 9th, 2021

Functions in covid19india (0.1.4)

get_metrics_tables

Create metrics tables
extract_latest

Helper function
get_nat_counts

Pull covid19india national time series data
get_all_data

Pull all covid19india count, test, and vaccine data for states and nation
check_for_data_correction

Check for data corrections of X-times magnitude - data.table style
get_state_vax

Pull covid19india state-level vaccine data
pop

List of places, abbreviations, and populations in India
get_cfr

Calculate case_fataility rate
%>%

Pipe operator
get_r0

Calculate r0
get_state_tests

Pull covid19india state-level testing data
get_state_counts

Pull covid19india state
get_r_est

Helper function for pulling latest R estimates
get_district_counts

Pull covid19india district-level data
get_nat_tests

Pull covid19india national time series test data
estR0_out

Helper function for calculating R_0 - data.table style
CFR

Helper function for calculating case-fatality rate