queryTagEvents: PTAGIS PIT Tag Events

View source: R/queryTagEvents.R

queryTagEventsR Documentation

PTAGIS PIT Tag Events

Description

Query and download event metadata for one tag from PTAGIS. In the interest of not overwhelming PTAGIS with data requests, this function should not be used to query more than a thousand tags a day and there should be a couple of seconds between calls. If a user is looking for more than that, using the advanced reporting system in PTAGIS is the best option at this time.

Usage

queryTagEvents(
  ptagis_tag_code = NULL,
  api_key = NULL,
  type = c(NA, "mark", "recapture", "recovery", "observation")
)

Arguments

ptagis_tag_code

PTAGIS tag code

api_key

PTAGIS API key, given to individual users

type

one of 'mark', 'recapture', 'recovery', or 'observation'. If one is specified, only data about events of that type are returned. The default, 'NA', will return data about all events for that tag.

Value

Gets data about all events for a given tag code.

Author(s)

Kevin See

Source

http://api.ptagis.org

Examples

queryTagEvents("3D9.1C2D929849")

KevinSee/PITcleanr documentation built on Feb. 27, 2024, 11:03 p.m.