Description Usage Arguments Details Value See Also
Construct a time series from a database
1 2 |
select |
character string used to construct query. |
dateField |
character string used to construct query. |
table |
character string used to construct query. |
where |
character string used to construct query. |
frequency |
character string used to specify frequency of the result (only "daily", "monthly" or "annual" are currently supported. |
na.as |
value to be used to replace |
names |
optional vector of character strings to be used for the
returned series. If not |
con |
A database connection. |
This functions is unlike other functins in this package (and may eventually be
moved to a separate package).
It constructs a time series from a database (using a connection) and a query
generated with the function arguments. An example query might be something like
z<- TSquery(select="SUM(amount )", dateField="issue_date", table="term",
where="term > 10", frequency="annual", con=con)
A time series or time series matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.