get_state_counts {covid19india}R Documentation

Pull covid19india state

Description

Pull covid19india state

Usage

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

## Not run: 
get_state_counts()

## End(Not run)

[Package covid19india version 0.1.4 Index]