get_states_daily: Get daily counts for every state

View source: R/get.R

get_states_dailyR Documentation

Get daily counts for every state

Description

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

Usage

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


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 Aug. 7, 2022, 3:17 a.m.