fetch_ats_transmissions | R Documentation |
Retrieves all transmissions or undownloaded transmissions, optionally filtered by collar
fetch_ats_transmissions(device_id = NULL, new = FALSE, chunk_size = 50L)
device_id |
A single device id, or a list or vector of device ids,
or NULL for all devices associated with current account. Overrides
the new parameter when specified. If the device ids returned by
|
new |
Currently ignored due to changes in the ATS website. |
chunk_size |
A single integer (default = 50) specifying how many collars are downloaded per HTTP request. In some rare cases entire batches may fail (with a warning) due to a few problematic collars, in which case you should set chunk_size to 1 to ensure that all available data is retrieved. |
A tibble with 20 columns:
ATS Collar ID (character)
Timestamp from server (US Cental time, POSIXct))
Timestamp in UTC/GMT (POSIXct)
Timestamp in current system time zone (POSIXct)
Number of fixes transmitted (integer)
Battery voltage (numeric)
Mortality message (character)
Breakoff message (character)
GPS module on time (integer)
Satellite module on time (integer)
Number of satellite errors (integer)
Offset (in hours) from UTC/GMT (numeric)
Is collar in low battery mode (logical)
VIT birth event (character)
Neolink slot 0 event (character)
Neolink slot 1 event (character)
Neolink slot 2 event (character)
Latitude in decimal degrees (numeric)
Latitude in decimal degrees (numeric)
Circular Error Probability in km (integer)
ats_login
for logging into an ATS account,
fetch_ats_config
for downloading collar configurations,
fetch_ats_positions
for downloading GPS data,
fetch_ats_events
for downloading alerts, and
link{fetch_ats_devices}
for downloading a list of available
collars
## Not run:
ats_login("mary", ".")
# get all transmissions for all collars in this account
trans <- fetch_ats_transmissions()
# get all transmissions for specific collars
collar_list <- sample(fetch_ats_devices(), 10)
trans <- fetch_ats_transmissions(device_id = collar_list)
# set chunk_size to 1 to ensure you get all available data
# if you're experiencing issues, but the download will
# take much longer to complete.
trans <- fetch_ats_transmissions(chunk_size = 1)
ats_logout()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.