get_state_counts: Pull covid19india state

Description Usage Arguments Value Examples

View source: R/get_state_counts.R

Description

Pull covid19india state

Usage

1
2
3
4
5
6
get_state_counts(
  path = "https://api.covid19india.org/csv/latest/state_wise_daily.csv",
  raw = FALSE,
  keep_nat = FALSE,
  corr_check = FALSE
)

Arguments

path

The URL path for the data. Default: https://api.covid19india.org/csv/latest/state_wise_daily.csv

raw

Pull raw unaltered data. Default is FALSE

keep_nat

Keep the national data as well. Default is FALSE

corr_check

Check for data correction. Default is FALSE

Value

Pulls the time-series case, death, and recovered data directly from covid19india.org.

Examples

1
2
3
4
## Not run: 
get_state_counts()

## End(Not run)

covid19india documentation built on Oct. 9, 2021, 5:07 p.m.