Tinderbox 8 Icon

covid()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 Item   [operators of similar scope]

 Data manipulation   [other Data manipulation operators]

 8.7.0

 


covid(zip code, date, keyword)

covid(state, country, date, keyword)

The operator covid() returns information about the 2020 pandemic of the COVID-19 virus.

covid(zip code, date, keyword)

Returns the number of cases, deaths, and recoveries reported that day in the US country that contains this zip code. For example

covid("02148", date(4,1,2020), "cases") 

This returns the number of cases reported in Middlesex County, Massachusetts. The keyword argument may be a quoted string with any of the following values:

covid(state, country, date, keyword)

A four-argument variant allows you to query results by US state:

covid("MA","US",date(4,1,2020),"recoveries") 

This returns the number of recoveries reported for that date from Massachusetts.

Data Source

Data are as reported by the Johns Hopkins Center For Systems Science and Engineering, and are provided by CovidNearMe.org and are provided strictly for educational and academic research purposes. Please note: data are copyright 12020 Johns Hopkins University.