getUvaBirdData: Retrieve UVA-bird-data from the LifeWatch project

View source: R/lwdataFunctions.R

getUvaBirdDataR Documentation

Retrieve UVA-bird-data from the LifeWatch project

Description

Retrieves the University of Amsterdam (UvA) Bird Tracking System data from the LifeWatch project. Need valid authentication to access the entire data. To get an account, register via the Lifewatch RShiny registration webpage. Without login you can only access data collected at least two years ago.

Usage

getUvaBirdData(
  startdate,
  stopdate,
  tagcodes,
  by,
  usr = NULL,
  pwd = NULL,
  params = FALSE,
  ...
)

Arguments

startdate

Starting date for the query

stopdate

Stopping date for the query

tagcodes

List of tag numbers from $tagnr in listUvaTags. Can also use "All HG" "All LBB" or "All MH" (MH only when logged in).

by

Time grouping for aggregation, one of ("1 day","60 min","10 min","1 min","1 week")

usr

Username to connect to database

pwd

Password to connect to 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.

Value

Dataframe with the specified bird tracking data.

Examples

getUvaBirdData("2013-06-10", "2013-06-14", tagcodes = c("719","6013","610"), by = "1 day")
getUvaBirdData("2013-06-10", "2013-06-14", tagcodes = "All HG", by = "1 week", params = TRUE)

lifewatch/lwdataexplorer documentation built on Aug. 24, 2024, 12:35 a.m.