R/siteGPS.R

Defines functions siteGPS

## siteGPS: get the table of recorded GPS fixes for a site
##

siteGPS = function(proj, site, year = lubridate::year(Sys.time())) {
    rv = siteSQL("select * from gps", proj, site, year)
    class(rv$ts) = c("POSIXt", "POSIXct")
    return(rv)
}
    
jbrzusto/sensorgnome-R-package documentation built on May 18, 2019, 9:19 p.m.