Get data for acoustic receivers, with options to filter results.
Usage
get_acoustic_receivers(
credentials = list(username = Sys.getenv("ETN_USER"), password = Sys.getenv("ETN_PWD")),
receiver_id = NULL,
status = NULL
)Value
A tibble with acoustic receiver data, sorted by receiver_id. See
also
field definitions.
Values for owner_organization will only be visible if you are member of
the group.
Examples
# Set credentials
credentials <- list(
username = Sys.getenv("ETN_USER"),
password = Sys.getenv("ETN_PWD")
)
# Get all acoustic receivers
get_acoustic_receivers(credentials)
#> Error: ODBC failed with error 00000 from [unixODBC][Driver Manager].
#> Failed to connect to the database.
#> Did you enter the right username/password?
#> Please try again.
# Get lost and broken acoustic receivers
get_acoustic_receivers(credentials, status = c("lost", "broken"))
#> Error: ODBC failed with error 00000 from [unixODBC][Driver Manager].
#> Failed to connect to the database.
#> Did you enter the right username/password?
#> Please try again.
# Get a specific acoustic receiver
get_acoustic_receivers(credentials, receiver_id = "VR2W-124070")
#> Error: ODBC failed with error 00000 from [unixODBC][Driver Manager].
#> Failed to connect to the database.
#> Did you enter the right username/password?
#> Please try again.
