View source: R/covtrck_states_testing.R
covtrck_states_testing | R Documentation |
This functions pulls US testing counts of COVID-19 data from covidtracking.com. The data is aggregated by FIPS and data, and is tidy so that it is more user friendly. No data is stored within the package, so the data should continuously update over time as long as the links do not change.
covtrck_states_testing()
Note: As of March 7, 2021, this data will not be updated. Website: https://covidtracking.com/api
Deprecated fields The following fields are deprecated and are no longer being updated with new data.
/api/v1/states/current.json:
positiveScore negativeScore negativeRegularScore commercialScore score grade - Use dataQualityGrade instead total
/api/v1/us/current.json
posNeg total
A tsibble/dataframe/tibble
## Not run: tests_daily <- R.COVID.19::covtrck_states_testing() head(tests_daily) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.