NWCTrends
Standardized Trend Metrics for Salmonid Populations
The salmon status-review trend package, maintained one federal review cycle at a time
◆Recent moves
- 7mo ago
Report params extracted to a list; gdata replaced with readxl
Moves report parameters into report_params.R so they can be returned as a list instead of passed around, relocates PDFs into /reports with build ignores, and swaps gdata for readxl after gdata dropped Excel reading. Internal restructuring and a forced dependency change, with no effect on model output.
View source ↗ - 3y ago
Plot options move into package globals; figure data exported to CSV
Replaces the nwctrends.palette approach with a package-environment options list users can override, exports productivity figure data as CSV, and clarifies in table captions how zeros and differing year counts are handled in geomeans. The bulk of it is about making published tables self-explanatory and plots customisable without editing the package.
View source ↗ - 5y ago
Explicit fitting window replaces implicit full-data fits
The version used for the 2020 status review. Adds fit.min.year and fit.max.year to data_setup() so the fitting window is what the caller asked for rather than the full span of available data, and removes the hard-coded Q estimate for Ozette Lake sockeye. Both changes make the 2020 results reproducible in a way the 2015 run was not.
View source ↗ - 5y ago
Initial release packaging the 2015 status review code
The first tagged version, assembling the code behind the 2015 status review into a package after the fact. It establishes the pattern the project has followed since: analysis first, package second, tagged per review cycle.
View source ↗