This is used to get QTVAR data between two times.

bh_get_qtvar(station, t1, t2, verbose = TRUE, sleep = 10)

Arguments

station

station code

t1

starting time formatted as "%d/%M/%Y %h:%m"

t2

ending time formatted as "%d/%M/%Y %h:%m"

verbose

whether to progressively print what data is being collected. Defaults to TRUE.

sleep

time to wait between two successive GET requests. Defaults to 30 seconds.

Value

tibble with QTVAR data

Examples

df_qtvar<-bh_get_qtvar(station="V2942010", t1="05/02/2007 15:00", t2="08/04/2009 18:00")
#> [1] "Collecting QTVAR data between times t1=05/02/2007 15:00 and t2=05/02/2008 15:00." #> [1] "Collecting QTVAR data between times t1=05/02/2008 15:00 and t2=05/02/2009 15:00." #> [1] "Collecting QTVAR data between times t1=05/02/2009 15:00 and t2=08/04/2009 18:00."