Repository navigation
[docs]: add acronym exceptions - #371
Schiano-NOAA wants to merge 1 commit into
Conversation
|
@kellijohnson-NOAA here are a few potential exceptions to make, but honestly was less than I thought when going through the list. Are there any additional ones you can think of? |
Code Metrics Report
Reported by octocov |
|
add abc and ofl? |
kellijohnson-NOAA
left a comment
There was a problem hiding this comment.
Sorry it took me so long to comment on this 🤦♀️
| ### Exceptions | ||
|
|
||
| * f_mort: fishing mortality | ||
| * msy: Maximum Sustaiable Yield |
There was a problem hiding this comment.
I am fine with "msy" but I am curious if we are going to enforce all lowercase all the time because my first instinct was that it should be "MSY". I have no preference, I am just trying to think through things. If words are always lowercase and abbreviations/acronyms are upper case then abbreviations would be easily recognizable. But, it would be easier if things are always lower case for consistency. I am really torn.
There was a problem hiding this comment.
Honestly I would prefer all capital since R is case sensitive and it's easier to remember when everything is one way or the other. Imo it's easy enough to capitalize the labels in tables and figures and less important in the tibble.
There was a problem hiding this comment.
I definitely meant all lowercase not all capital
| * f_mort: fishing mortality | ||
| * msy: Maximum Sustaiable Yield | ||
| * comp: composition | ||
| * biomass_spawn[?]: biomass_spawning |
There was a problem hiding this comment.
"span" matches the lack of plural that we use for "female" and "male" because we never write "females" and "males" in code so why not just use "spawn"?
There was a problem hiding this comment.
I'm good with that
|
|
||
| ### Exceptions | ||
|
|
||
| * f_mort: fishing mortality |
There was a problem hiding this comment.
I think that we use f_mort in FIMS, which I like better than just F because that is hard to search for but I am wondering if we should be abbreviating mortality?
There was a problem hiding this comment.
I am not sure why I put f_mort because we spell it out completely everywhere in {stockplotr} including the plot.
I am leaning towards keeping it spellied out here since F represents fishing mortality (but if you want to get nuanced, I guess technically only the capital one does so saying f_mort would probably indicate fishing_mortality).
Definitely want to have some sort of spelling, so whether its f_mortality or fishing_mortality, I think I can get behind either.
|
@kellijohnson-NOAA No worries! I had tons of other things to do and it was not high up on my priorities |
Adding a new section describing and defining the acronyms to the exceptions in the naming conventions section.