View source: R/get_acoustic_deployments.R
get_acoustic_deployments | R Documentation |
Get data for deployments of acoustic receivers, with options to filter results.
get_acoustic_deployments(
connection = con,
deployment_id = NULL,
receiver_id = NULL,
acoustic_project_code = NULL,
station_name = NULL,
open_only = FALSE
)
connection |
A connection to the ETN database. Defaults to |
deployment_id |
Integer (vector). One or more deployment identifiers. |
receiver_id |
Character (vector). One or more receiver identifiers. |
acoustic_project_code |
Character (vector). One or more acoustic project codes. Case-insensitive. |
station_name |
Character (vector). One or more deployment station names. |
open_only |
Logical. Restrict deployments to those that are currently
open (i.e. no end date defined). Defaults to |
A tibble with acoustic deployment data, sorted by
acoustic_project_code
, station_name
and deploy_date_time
. See also
field definitions.
# Set default connection variable
con <- connect_to_etn()
# Get all acoustic deployments
get_acoustic_deployments(con)
# Get specific acoustic deployment
get_acoustic_deployments(con, deployment_id = 1437)
# Get acoustic deployments for a specific receiver
get_acoustic_deployments(con, receiver_id = "VR2W-124070")
# Get open acoustic deployments for a specific receiver
get_acoustic_deployments(con, receiver_id = "VR2W-124070", open_only = TRUE)
# Get acoustic deployments for a specific acoustic project
get_acoustic_deployments(con, acoustic_project_code = "demer")
# Get acoustic deployments for two specific stations
get_acoustic_deployments(con, station_name = c("de-9", "de-10"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.