View source: R/lwdataFunctions.R
getEtnData | R Documentation |
Retrieves the European Tracking Network (ETN) data from the LifeWatch project. Need valid authentication to access the entire data. To get an account, register via the Lifewatch RShiny registration webpage.
getEtnData(
startdate,
stopdate,
action,
by,
networks,
projects,
usr = NULL,
pwd = NULL,
params = FALSE,
...
)
startdate |
Starting date for the query |
stopdate |
Stopping date for the query |
action |
One of ('Time bins','Residencies','Active network','Detections') |
by |
Sample period, one of ("1 day", "1 week", "60 min","10 min", "1 min") |
networks |
List of networks to be included in the query. See |
projects |
List of projects to be included in the query. See |
usr |
Username to connect to ETN database |
pwd |
Password to connect to ETN database |
params |
If TRUE, returns a list with the dataset and the query parameters applied in the server side. IF FALSE returns only the data. |
... |
Reserved for internal use. |
Dataframe with the specified ETN data.
getEtnData("2020-04-19", "2020-04-21", action = "Time bins", by = "1 day",
networks = "All", projects = "All")
getEtnData("2016-01-01", "2017-12-31", action = "All", by = "1 week",
networks = "Azorean acoustic receiver network", projects = "Lifewatch", params = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.