R/swfscDAS-package.R

#' Process and summarize shipboard DAS data
#'
#' This package contains functions designed for processing and analyzing DAS
#' data generated using the WinCruz program by the Southwest Fisheries Science
#' Center, although note that it can by anyone that collects data in this
#' format. It is intended to standardize and streamline basic DAS data
#' processing.
#'
#' @name swfscDAS-package
#' @aliases swfscDAS
#' @title Southwest Fisheries Science Center DAS
#' @author Sam Woodman \email{sam.woodman@@noaa.gov}
#' @seealso \url{https://swfsc.github.io/swfscDAS/}
#'
#' @importFrom dplyr add_row arrange between bind_cols bind_rows case_when desc
#'   distinct everything filter full_join group_by if_else lag left_join mutate
#'   n n_distinct reframe right_join select slice starts_with summarise ungroup
#' @importFrom lubridate year month day tz
#' @importFrom magrittr %>%
#' @importFrom methods setOldClass
#' @importFrom parallel clusterExport detectCores parLapplyLB stopCluster
#' @importFrom readr cols col_character fwf_positions read_fwf
#' @importFrom rlang !! .data
#' @importFrom purrr map_chr pmap pmap_int pmap_lgl
#' @importFrom sf st_as_sf st_cast st_coordinates st_geometry st_intersects
#'   st_intersection st_linestring st_polygon st_sf st_sfc st_wrap_dateline
#' @importFrom stats na.omit runif
#' @importFrom swfscMisc bearing destination distance setupClusters
#' @importFrom tidyr pivot_longer
#' @importFrom utils head read.csv tail write.csv
#'
#' @keywords package
"_PACKAGE"

setOldClass("das_dfr")
setOldClass("das_df")


# To handle the “no visible binding” note
# https://r-pkgs.org/package-within.html#echo-a-working-package
# https://dplyr.tidyverse.org/articles/in-packages.html#data-masking-and-tidy-selection-notes

Try the swfscDAS package in your browser

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

swfscDAS documentation built on June 10, 2025, 5:12 p.m.