Large wrapper function that retrieves the LifeWatch data. Use datatype specific functions for clearer use.
lwdata(
datatype = "Buoy data",
from = as.character(Sys.Date() - 90),
to = as.character(Sys.Date()),
stations = c("Buoy at C-Power"),
binSize = "60 min",
calc = "Time bins",
UrlPar = NULL,
code = NULL,
posres = 2,
logged = FALSE,
projectlist = NULL,
tagprojectlist = NULL,
loggedInUserPostgresUsername = NULL,
loggedInUserPostgresPwd = NULL,
phylasp = "#2#51#",
taxranks = c(Species = 220),
qualities = c("Hi"),
processing = "Validated",
minband = 10,
maxband = 10,
params = FALSE,
force_opencpu = FALSE
)
Type of data to request
Starting date for the query
Stopping date for the query
(Buoy, MVB, Station) list of stations to be included in the query
(Bats, ETN, CPOD, MVB, UvaBird, Underway) Sample period.
(MVB) Calculation to perform given time grouping, one of ('avg', 'max', 'min', 'none')
.
.
.
(CPOD, MVB, ETN, UvaBird) Request data under moratory if you have an account
.
.
(CPOD, MVB, ETN, UvaBird) Postgres username
(CPOD, MVB, ETN, UvaBird) Postgres password
.
.
.
(CPOD) One of ('Validated','Raw')
lower frequency band from which the sound value will be retrieved
upper frequency band from which the sound value will be retrieved
If TRUE, returns a list with the dataset and the query parameters applied in the server side. IF FALSE returns only the data.
boolean. If true, the query will be forced to run through the OpenCPU server.
The sum of x
and y
if (FALSE) { # \dontrun{
lwdata()
lwdata('zooscan data')
lwdata('flowcam data')
lwdata('MVB')
lwdata('station data')
lwdata('cpod data')
lwdata('etn data')
} # }