Description Usage Arguments Value Examples
View source: R/data_pull_fcns.R
Pulls Essence Data for 3 metrics: CLI, ILI, Total ED Visits
1 2 3 4 5 6 | pull_essence(
api_url,
start_date,
end_date = NULL,
metric = c("cli", "ili", "total_ed")
)
|
api_url |
character string matching Essence API format |
start_date |
Start date of the time series that you wish to analyze. It should be something coercible to Date format with as.Date. |
end_date |
(default = NULL) If specified it is the end date of the time series that you wish to analyze. It should be something coercible to Date format with as.Date. If you want all data leave it blank. |
metric |
one of "cli", "ili", "total_ed" depending on which metrics you wish to calculate. |
a data.frame
1 2 3 4 | ## Not run:
#write me an example please
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.