Skip to contents

At-sea data management tools for RACE GAP surveys

This code is always in development

This code is primarally maintained by:

Emily Markowitz (Emily.Markowitz AT noaa.gov; EmilyMarkowitz-NOAA)

Sean Rohan (Sean.Rohan AT noaa.gov; sean-rohan-NOAA)

Margaret Siple (Margaret Siple AT noaa.gov; MargaretSiple-NOAA)

Alaska Fisheries Science Center,

National Marine Fisheries Service,

National Oceanic and Atmospheric Administration,

Seattle, WA 98195

Make sure the necessary packages are installed

library(devtools)

devtools::install_github("afsc-gap-products/GAPsurvey")
 # Or
remotes::install_github("afsc-gap-products/GAPsurvey@main")

library(GAPsurvey)

or install from local file .tar.gz:

# example, the user may have a different path
install.packages('C:/Users/User/Downloads/GAPsurvey_2025.05.21.tar.gz',
                 repos=NULL, type='source')
library(GAPsurvey)

Cite this data

Use the below bibtext citations for citing the package created and maintained in this repo. Add “note = {Accessed: mm/dd/yyyy}” to append the day this data was accessed.

cat(readLines(con = here::here("inst/CITATION.bib")), sep = "\n") 
#> @misc{GAPsurvey,
#>   author = {{NOAA Fisheries Alaska Fisheries Science Center, Goundfish Assessment Program}},
#>   year = {2024},
#>   title = {AFSC Goundfish Assessment Program at-Sea data management tools for RACE GAP surveys},
#>   howpublished = {https://www.fisheries.noaa.gov/alaska/science-data/groundfish-assessment-program-bottom-trawl-surveys},
#>   publisher = {{U.S. Dep. Commer.}},
#>   copyright = {Public Domain}
#> }

Relevant publications

source("https://raw.githubusercontent.com/afsc-gap-products/citations/main/cite/current_data_tm.r") # srvy_cite 

Learn more about these surveys (Hoff, 2016; Markowitz et al., 2024, 2024; Siple et al., 2024; Von Szalay et al., 2023; Zacher et al., 2024).

Hoff, G. R. (2016). Results of the 2016 eastern Bering Sea upper continental slope survey of groundfishes and invertebrate resources (NOAA Tech. Memo. NOAA-AFSC-339). U.S. Dep. Commer. https://doi.org/10.7289/V5/TM-AFSC-339
Markowitz, E. H., Dawson, E. J., Wassermann, S., Anderson, C. B., Rohan, S. K., Charriere, B. K., and Stevenson, D. E. (2024). Results of the 2023 eastern and northern Bering Sea continental shelf bottom trawl survey of groundfish and invertebrate fauna (NOAA Tech. Memo. NMFS-AFSC-487; p. 242). U.S. Dep. Commer. https://doi.org/10.25923/2mry-yx09
Siple, M. C., Szalay, P. G. von, Raring, N. W., Dowlin, A. N., and Riggle, B. C. (2024). Data report: 2023 gulf of alaska bottom trawl survey (NOAA Tech. Memo. AFSC processed report; 2024-09). U.S. Dep. Commer. https://doi.org/10.25923/gbb1-x748
Von Szalay, P. G., Raring, N. W., Siple, M. C., Dowlin, A. N., Riggle, B. C., and Laman, E. A. and. (2023). Data report: 2022 Aleutian Islands bottom trawl survey (AFSC Processed Rep. 2023-07; p. 230). U.S. Dep. Commer. https://doi.org/10.25923/85cy-g225
Zacher, L. S., Richar, J. I., Fedewa, E. J., Ryznar, E. R., and Litzow, M. A. (2024). The 2024 eastern Bering Sea continental shelf trawl survey: Results for commercial crab species DRAFT [NOAA Tech. Memo.]. https://www.fisheries.noaa.gov/resource/document/draft-2024-eastern-bering-sea-crab-technical-memorandum

Suggestions and Comments

If you see that the data, product, or metadata can be improved, you are invited to create a pull request, submit an issue to the GitHub organization, or submit an issue to the code’s repository.

R Version Metadata

sessionInfo()
#> R version 4.5.0 (2025-04-11 ucrt)
#> Platform: x86_64-w64-mingw32/x64
#> Running under: Windows 10 x64 (build 19045)
#> 
#> Matrix products: default
#>   LAPACK version 3.12.1
#> 
#> locale:
#> [1] LC_COLLATE=English_United States.utf8  LC_CTYPE=English_United States.utf8    LC_MONETARY=English_United States.utf8 LC_NUMERIC=C                          
#> [5] LC_TIME=English_United States.utf8    
#> 
#> time zone: America/Los_Angeles
#> tzcode source: internal
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> other attached packages:
#> [1] ggplot2_3.5.2
#> 
#> loaded via a namespace (and not attached):
#>  [1] gtable_0.3.6       xfun_0.52          remotes_2.5.0      htmlwidgets_1.6.4  devtools_2.4.5     lattice_0.22-6     vctrs_0.6.5        tools_4.5.0        generics_0.1.4    
#> [10] gstat_2.1-3        parallel_4.5.0     tibble_3.2.1       proxy_0.4-27       spacetime_1.3-3    xts_0.14.1         pkgconfig_2.0.3    KernSmooth_2.23-26 data.table_1.17.2 
#> [19] RColorBrewer_1.1-3 lifecycle_1.0.4    compiler_4.5.0     farver_2.1.2       stringr_1.5.1      FNN_1.1.4.1        terra_1.8-50       janitor_2.2.1      codetools_0.2-20  
#> [28] snakecase_0.11.1   httpuv_1.6.16      usethis_3.1.0      stars_0.6-8        htmltools_0.5.8.1  class_7.3-23       yaml_2.3.10        pkgdown_2.1.2      urlchecker_1.0.1  
#> [37] later_1.4.2        pillar_1.10.2      ellipsis_0.3.2     RODBC_1.3-26       classInt_0.4-11    cachem_1.1.0       sessioninfo_1.2.3  abind_1.4-8        mime_0.13         
#> [46] tidyselect_1.2.1   digest_0.6.37      stringi_1.8.7      purrr_1.0.4        sf_1.0-21          dplyr_1.1.4        rprojroot_2.0.4    fastmap_1.2.0      grid_4.5.0        
#> [55] here_1.0.1         cli_3.6.5          magrittr_2.0.3     readtext_0.91      pkgbuild_1.4.7     e1071_1.7-16       withr_3.0.2        promises_1.3.2     akgfmaps_4.0.6    
#> [64] scales_1.4.0       sp_2.2-0           lubridate_1.9.4    timechange_0.3.0   httr_1.4.7         rmarkdown_2.29     zoo_1.8-14         memoise_2.0.1      shiny_1.10.0      
#> [73] evaluate_1.0.3     knitr_1.50         miniUI_0.1.2       profvis_0.4.0      rlang_1.1.6        Rcpp_1.0.14        xtable_1.8-4       glue_1.8.0         DBI_1.2.3         
#> [82] pkgload_1.4.0      rstudioapi_0.17.1  R6_2.6.1           fs_1.6.6           intervals_0.15.5   units_0.8-7

NOAA README

This repository is a scientific product and is not official communication of the National Oceanic and Atmospheric Administration, or the United States Department of Commerce. All NOAA GitHub project code is provided on an ‘as is’ basis and the user assumes responsibility for its use. Any claims against the Department of Commerce or Department of Commerce bureaus stemming from the use of this GitHub project will be governed by all applicable Federal law. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by the Department of Commerce. The Department of Commerce seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by DOC or the United States Government.

NOAA License

Software code created by U.S. Government employees is not subject to copyright in the United States (17 U.S.C. §105). The United States/Department of Commerce reserve all rights to seek and obtain copyright protection in countries other than the United States for Software authored in its entirety by the Department of Commerce. To this end, the Department of Commerce hereby grants to Recipient a royalty-free, nonexclusive license to use, copy, and create derivative works of the Software outside of the United States.

NOAA Fisheries

U.S. Department of Commerce | National Oceanographic and Atmospheric Administration | NOAA Fisheries