Learn R Programming

covid19india (version 0.1.4)

get_state_counts: 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

Run this code
# NOT RUN {
get_state_counts()
# }

Run the code above in your browser using DataLab