Code is always in development
This document is for informational purposes only and does not necessarily represent the views or official position of the Department of Commerce, the National Oceanic and Atmospheric Administration, or the National Marine Fisheries Service. Not to be cited without permission from the authors.
This code is primarily maintained by:
- Sarah Friedman (Sarah.Friedman AT noaa.gov; @SarahFriedman-NOAA)
- Zack Oyafuso (Zack.Oyafuso AT noaa.gov; @ZOyafuso-NOAA)
- Emily Markowitz (Emily.Markowitz AT noaa.gov; @EmilyMarkowitz-NOAA)
Alaska Fisheries Science Center
National Marine Fisheries Service
National Oceanic and Atmospheric Administration
Seattle, WA 98195
The RACE Survey App is a consistent, reproducible, and reliable local resource website for our boats while boats are out to sea.
This repository houses:
- The functions used to create the RACE Survey App (
sub_tasks/,run.R) - The HTML files that make up the website (
docs/) - The many files that are embedded in those websites (
files/)
The files in total are too large to be housed within GitHub and are instead stored locally in the files/ folder.
The G: drive version of the RACE Survey App
(G:\RACE_Survey_App, must be connected to the VPN and have access to RACE_GF network) contains the most up to date version of this files/ folder.
When first cloning/forking this repository:
- Copy the
files/folder from the G drive version of the app to your copy of the repository. - If you are working on this app, you should periodically copy the
files/folder from the G drive version of the app to your copy of the repository so that you are up to date with thefiles/content.
This googlesheet currently houses most of the input data used to populate the RACE Survey App.
See the wiki page on how to modify the data inputs.
The run.R script is the main engine that produces the application. It sources a sequence of scripts that are stored in the sub_tasks/ folder. These scripts are numbered in the order they are called.
-
sub_tasks/01_import_R_packages.R
Imports/installs R packages -
sub_tasks/02_functions.R
Imports helper functions -
sub_tasks/03_data.R
Imports and cleans data -
In between these steps, we create the
dfthat defines the website page structure -
sub_tasks/04_render_main_page.R
Renders our main page calledindex.html -
In between these steps, each page is rendered
-
sub_tasks/05_render_species_pages.R
Renders the species ID pages
Archived information from previous years can be found on the G drive in the RACE_Survey_App Archive folder.
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.
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.
U.S. Department of Commerce |
National Oceanographic and Atmospheric Administration |
NOAA Fisheries
