Skip to content

[feat] Update biomass/abundance/catch table - #373

Open
sbreitbart-NOAA wants to merge 11 commits into
mainfrom
revamp-tab-bnc
Open

sbreitbart-NOAA wants to merge 11 commits into
mainfrom
revamp-tab-bnc

Conversation

@sbreitbart-NOAA

@sbreitbart-NOAA sbreitbart-NOAA commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

As per #358

Also removed "unit_label" argument from create_rda() in all plotting functions as it was not used in the functions

@sbreitbart-NOAA sbreitbart-NOAA linked an issue Sep 24, 2026 that may be closed by this pull request
@sbreitbart-NOAA sbreitbart-NOAA added this to the September Release milestone Sep 24, 2026
B.msy.max,,upper estimate of the biomass at maximum sustainable yield of the 95th percentile confidence interval,,,,
B.msy.min,,lower estimate of the biomass at maximum sustainable yield of the 95th percentile confidence interval,,,,
biomass_abundance_catch.abundance.units,, units of abundance measurement for biomass/abundance/catch table,,,,
biomass_abundance_catch.b.units,, units of biomass measurement for biomass/abundance/catch table,,,,

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 is b an acronym but no other labels are?

Comment thread R/save_all_plots.R
# imported from table_bnc
biomass_unit_label = "mt",
# imported from table_biomass_abundance_catch
bac_unit_label = c("biomass" = "mt", "abundance" = "fish", "catch" = "mt"),

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 don't think this argument is in the roxygen documentation. Could you also change it to bnc?

Comment thread R/save_all_plots.R

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 feel like there has to be an automated way to update this function whenever we add a new figure_* or table_*

@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.

A couple of minor things, but otherwise looks good to me! Double check that one argument I mentioned has documentation.

@Schiano-NOAA

Copy link
Copy Markdown
Collaborator

I forgot to add -- on merge please set the message to include both info about the feature and the removal of the units from the function

This branch has not been deployed

No deployments
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.

[Revamp]: table_bnc()

2 participants