Description Usage Details Value Author(s) Examples
View source: R/time_series_queries.R
This query gets the data necessary to do a time series analysis on emergency room arrivals.
1 |
Requires a connection to DSS, uses both db_connect()
and db_disconnect()
The start date is set to 2010-01-01
The end date is set dynamically to the end of the previous month.
It gets data from the WellSoft reporting server
The data comes back aggregated by arrival which is granular to the minute. The following columns come back:
date_col - date is of datetime, so down to the second
value - where value simply equals 1
A tibble
Steven P. Sanderson II, MPH
1 2 3 4 | ## Not run:
ts_ed_arrivals_query()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.