get_states_daily: Get daily counts for every state

Description Usage Arguments Value Examples

View source: R/get.R

Description

Daily counts are updated every day at 4pm EST. This is the only function that takes arguments.

Usage

1
get_states_daily(state = "all", date = "all")

Arguments

state

State abbreviation for a specific state or all states with "all".

date

For a specific date, a character or date vector of length 1 coercible to a date with lubridate::as_date().

Value

A tibble with one row per state for all dates available with columns for individuals' COVID statuses (positive, negative, pending, death) and their total.

Examples

1
2
3
4
5
get_states_daily()

get_states_daily("NY", "2020-03-17")
get_states_daily(state = "WA")
get_states_daily(date = "2020-03-11")

aedobbyn/covid19us documentation built on Sept. 4, 2020, 1:21 p.m.