weather_interval: Return a dataframe of weather variables characterizing an...

Description Usage Arguments Details Value See Also

Description

weather_interval Return a dataframe of weather variables characterizing an interval.

Usage

1
2
weather_interval(weatherdata, weatherlocation, localdateBegin, localtimeBegin,
  durationHours, dataWindow = 120)

Arguments

weatherdata

data frame containing weather data

weatherlocation

char vector containing the station IDs (preface zip codes with ZIPxxxxx)

localdateBegin

char vector containing the local date of the beginning of the interval "YYYYMMDD"

localtimeBegin

char vector containing the local time of the beginning of the interval "HHMMSS"

durationHours

numeric length of the interval in hours

dataWindow

number of minutes past ends of interval to look for data

Details

If the interval begins or end in the hour where daylight saving causes the hour to repeat (fall back), it will be assumed that it begins or ends on the first pass.

Value

a dataframe containg the following variables:

See Also

update_weather clean_hourly_data


CraigMohn/wunderWrapper documentation built on May 15, 2019, 5:34 p.m.