← Back to all sparks
I

icesSAG

ANALYTICS
Velocity0.0

Stock Assessment Graphs Database Web Services

The ICES stock assessment client took upload away in 2024 and spent two years giving it back.

fisheries-scienceapi-clienticesdata-validationauthentication
Current state
icesSAG is the R client for the ICES Stock Assessment Graphs database, used by fisheries scientists to retrieve and publish stock assessment summaries and figures. The 1.5.0 release repointed every function at a new API, replaced token authentication with JWT via icesConnect, and dropped file upload entirely. Upload returned in 1.6.2, now routing through icesDatsu to check file format and validate data before submission.
Where it's heading
The package is consolidating onto the shared ices-tools stack rather than carrying its own machinery — authentication moved to icesConnect, validation to icesDatsu, and the icesVocab dependency was dropped once it was no longer needed. Alongside that, redundant graph functions were deprecated and caching was added to reduce load on the server. Releases are infrequent and driven by upstream API changes.
Prediction
Expect the next release to follow whatever the ICES service or the sibling ices-tools packages change next, rather than introducing new analysis capability of its own.

Recent moves

  1. 3mo ago

    Stock upload restored with pre-submission validation

    uploadStock() works again after the capability was removed in 1.5.0, now using icesDatsu to check file format and validate data before anything is sent. Also fixes getSAGGraphs and drops the icesVocab dependency — the same consolidation onto shared ices-tools packages that the auth migration started.

    View source ↗
  2. 1y ago

    Every function repointed at a new API, with JWT auth

    ⚡ SPARK

    The release that reset the package: a wholesale API migration, a new authentication model, and the removal of file upload — a capability users had to wait two years to get back. Everything since has been repairing and refining what this release moved.

    View source ↗
  3. 6y ago

    local release 1.3-5

    A branch merge tagged as a local release, carrying no release notes. It marks the pre-migration era, five years before the API rewrite.

    View source ↗