View source: R/api_coveragedb.R
api_coveragedb | R Documentation |
COVerAGE-DB is an open-access database that includes cumulative counts of confirmed COVID-19 cases, deaths, tests, and vaccines by age and sex. The main goal of COVerAGE-DB is to provide a centralized, standardized, age-harmonized, and fully reproducible database of COVID-19 data. For more information, visit
api_coveragedb(port = NULL)
port |
a numeric value used as a port |
This API wraps a custom download performed locally of the database and filters only 'California', 'Utah' and 'New York State' for both sexes ('m' and 'f' in the database).
The API has two parameters which can be filtered:
* region: 'California', 'Utah' and 'New York State' * sex: 'm' and 'f'
This function launches a plumber API in a new R process using 'callr' and return the 'callr' process.
callr result of the individual R process
Jorge Cimentada
## Not run: live_api <- api_coveragedb() live_api$kill() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.