Description Usage Arguments Details Value
dbFetchHourlyAvg
returns hourly averages from an SQLite database for a specified time period
1 | dbFetchHourlyAvg(db, sensor, start_time, end_time, avg_time, align = "center")
|
db |
database to query |
sensor |
sensor to extract info for |
start_time |
format is '2011-08-15 06:00:00' |
end_time |
format is '2011-08-15 06:00:00' |
avg_time |
averaging time in minutes |
align |
where to align the index of the result (left, middle, right) |
This function returns a time series of hourly averaged wind speed data for a specified time period. The data is averaged at the top of the hour and aligned according to the 'align' parameter. Currently only connects to SQLite db.
time series of wind speed in xts format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.