Covid#

Cases and deaths due to COVID-19 by US state and date, due to The New York Times. Downloaded on May 28, 2021

undefined

Initialization#

library(fosdata)
data <- fosdata::covid

Accessing fields#

data <- fosdata::covid
cases <- data$cases # Just a random field in the dataset

Interactive R Sample#

You can use the R editor below to interactively explore the dataset and generate plots. This contains a fully self-contained R environment with fosdata, ggplot2, and dplyr loaded.

webR + fosdata Test

Console
Plot

    
No plot generated yet.
scatterplot

LLM instructions#

If using an LLM, you can copy-paste the following instructions to accompany your prompt to inform the model of the fields and their types in the dataset.

LLM Instructions
The fosdata::covid dataset containing the following fields:

fields[5]{name,type,values}:
  date,character,n/a
  state,character,n/a
  fips,integer,n/a
  cases,integer,n/a
  deaths,integer,n/a

Fields#

Name Description Type Min Max Values
date YYYY-MM-DD character - - -
state State where cases were recoreded character - - -
fips FIPS code; useful if making maps integer 1 78 -
cases Cumulative number of cases integer 1 4599348 -
deaths Cumulative number of deaths integer - 67312 -

Source#

https://github.com/nytimes/covid-19-data