stationsPeriod: Subset stations by period

Description Usage Arguments Value Author(s) Examples

View source: R/stationsPeriod.R

Description

Subset the stations table, selecting stations with weather data in a given period of time

Usage

1
stationsPeriod(startDate, endDate, stations, wholePeriod = FALSE)

Arguments

startDate

first date for which to include weather data

endDate

last date for which to include weather data

stations

stations data table (data frame)

wholePeriod

select only stations that cover the entire period

Value

data frame

Author(s)

Jacob van Etten

Examples

1
2
3
data(stations)
stationsSubset <- stationsPeriod("2010-01-01","2010-12-31", stations=stations)
  

gsod documentation built on May 2, 2019, 4:59 p.m.