dbFetchHourlyAvg: Fetch averaged data from an SQLite database for a specified...

Description Usage Arguments Details Value

Description

dbFetchHourlyAvg returns hourly averages from an SQLite database for a specified time period

Usage

1
dbFetchHourlyAvg(db, sensor, start_time, end_time, avg_time, align = "center")

Arguments

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)

Details

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.

Value

time series of wind speed in xts format


nwagenbrenner/windtools documentation built on May 24, 2019, 10:56 a.m.