Get data for acoustic receivers, with options to filter results.
Arguments
- connection
A connection to the ETN database. Defaults to
con
.- receiver_id
Character (vector). One or more receiver identifiers.
- status
Character. One or more statuses, e.g.
available
orbroken
.
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 default connection variable
con <- connect_to_etn()
#> Error: nanodbc/nanodbc.cpp:1135: 00000: [unixODBC][Driver Manager]Data source name not found and no default driver specified
# Get all acoustic receivers
get_acoustic_receivers(con)
#> Error in methods::is(connection, "PostgreSQL"): object 'con' not found
# Get lost and broken acoustic receivers
get_acoustic_receivers(con, status = c("lost", "broken"))
#> Error in methods::is(connection, "PostgreSQL"): object 'con' not found
# Get a specific acoustic receiver
get_acoustic_receivers(con, receiver_id = "VR2W-124070")
#> Error in methods::is(connection, "PostgreSQL"): object 'con' not found