Skip to content

[feat] catch table for exec summary - #350

Open
sbreitbart-NOAA wants to merge 6 commits into
mainfrom
feat-catch-table
Open

[feat] catch table for exec summary#350
sbreitbart-NOAA wants to merge 6 commits into
mainfrom
feat-catch-table

Conversation

@sbreitbart-NOAA

@sbreitbart-NOAA sbreitbart-NOAA commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Table showing catch, for the executive summary

@Schiano-NOAA I didn't use the typical process_table() step because it didn't seem to fit with this pipeline. Also made this suitable for creating one table at a time

@github-actions

Copy link
Copy Markdown
Contributor

New version checklist

  • Package version in DESCRIPTION has been updated
  • Release notes have been drafted/published
  • Cheatsheet content has been updated (if applicable)
  • Cheatsheet version has been updated

@github-actions

Copy link
Copy Markdown
Contributor

Code Metrics Report

Coverage Code to Test Ratio Test Execution Time
71.1% 1:0.2 8m44s

Code coverage of files in pull request scope (81.4%)

Files Coverage
R/save_all_plots.R 80.8%
R/table_catch.R 83.7%

Reported by octocov

report.version.model.changes,table,Document version history briefly describing when major changes or updates are made to each version of the report.,
projections,table,"Forecasted catch, spawning biomass, and fishing mortality over future years. ",
catch,table,Observed (points) and model estimated (line) catch over time for fleet catch.fleet.,
catch,table,Total catch over time.,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
catch,table,Total catch over time.,
tot.catch,table,Total catch over time.,

@Schiano-NOAA Schiano-NOAA Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After testing, I noticed this table is showing the results by fleet, so I think we need to include that still?

Comment thread R/table_catch.R
# Filter data for catch
prepared_data <- filter_data(
dat = dat,
label_name = "catch",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
label_name = "catch",
label_name = "^catch",

Do you know if there's any reason we can't do this? I think it would reduce the number of module options in the first step

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need to do this?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here?

@Schiano-NOAA Schiano-NOAA left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this overall is great! I made a few minor suggestions. Could you please change the table name to "table_total_catch" to add clarity. This seems to work as expected on testing so glad for that! There was some inconsistency in the caption vs what was returned which I mentioned in a comment. Once these things are changed and lables/test/everything else are aligned with these edits, then should be good to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants