restructureDataResult: Internal: Convert database query results
Description
Function to convert database query results into a list of two xts objects, one for numerical and one for character information.Usage
restructureDataResult(to.ret, value.numeric=TRUE,
tz=c("global", "UTC", "GMT", "0", "local"))
Arguments
to.ret
results returned from IgetDataValues.
value.numeric
boolean indicating if values should be converted to numeric type (characters can be stored in the database and should not be converted)
tz
String indicating whether the data should be obtained in the local or global time zone.
Details
see code for details.