R/sitePath.R

Defines functions sitePath

##
## path to the top of a project in a given year
##
sitePath = function(proj, site, year = lubridate::year(Sys.time())) {
    rv = SGPath("contrib", year, proj, site)
    return (rv[file.exists(rv) & file.info(rv)$isdir])
}
jbrzusto/sensorgnome-R-package documentation built on May 18, 2019, 9:19 p.m.