fetch_ats_devices | R Documentation |
Retrieves a list of devices (collars), optionally filtered by status
fetch_ats_devices(filter = "all")
filter |
A single character value for filtering the results by
status. If an invalid filter value is provided
|
A character vector of device ids
ats_login
for logging into an ATS account,
fetch_ats_config
for downloading collar configurations,
fetch_ats_positions
for downloading GPS data,
fetch_ats_transmissions
for downloading transmission
data, and fetch_ats_events
for downloading alerts
## Not run: ats_login("mary", ".") # get ids for all collars in this account collar_list <- fetch_ats_devices() # get ids for collars active collars collar_list <- fetch_ats_devices("Active") # get ids for collars inactive collars collar_list <- fetch_ats_devices("Inactive") # get ids for collars with low battery collar_list <- fetch_ats_devices("Low_batt") # get ids for collars in mortality collar_list <- fetch_ats_devices("Mort") # get ids for collars with birth events triggered collar_list <- fetch_ats_devices("Birth") ats_logout() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.