R/get_rcvr_fields.R

Defines functions get_rcvr_fields

Documented in get_rcvr_fields

#' Get A List of Receiver Related Fields from ERDAPP
#'
#' This function searches the California Fish Tracking ERDAPP Database to create
#' a list of all potential fields related to acoustic receiver metadata.
#' Used to identify important metadata fields to include when adding receiver
#' data in the join_rcvr_data function.
#'
#' @returns A vector of potential receiver metadata fields which the user may review
#' @export
#' @examples
#' # View a list of available receiver fields
#' get_rcvr_fields()
get_rcvr_fields <- function(){
  info <- rerddap::info('FED_JSATS_receivers',
                        url = 'https://oceanview.pfeg.noaa.gov/erddap')
  info$variables
}

Try the filteRjsats package in your browser

Any scripts or data that you put into this service are public.

filteRjsats documentation built on April 10, 2023, 5:07 p.m.