NEFSC / READ-SSB-CHAJI-Effort-Displacement---Scallop

Other
0 stars 0 forks source link

Loop on scallop analysis #186

Closed mle2718 closed 2 years ago

mle2718 commented 2 years ago

I've revised the scallop_analysis file slightly to allow us to "loop" over it using "knit_scallop_analysis_loop.R" You will need to choose the FishSETFolder for the first item in the loop, but not for subsequent items inside the loop.

However, I assumed that "FishSETFolder" resides inside the root of your project directory:

folderpath <- here("FishSETFolder")
mle2718 commented 2 years ago

@mchaji: This may not run without new data -- I think it needs new columns that were constructed in the dev branch. You can grab the data from kiteworks or lift it off my network drive. The way to test is to:

  1. knit "combine_cable_routes.Rmd" to html
  2. run/source (not knit) the "knit_scallop_analysis_loop.R" file. You will be prompted to select the FishSET folder once, but it will make 8 scallop reports, for various combinations of shapefiles, fleets, and aggregation. This will take a little while (an hour?) if neptune isn't being heavily used.