- Update all functions to point to new API.
- Remove token authentication, and move to JWT tokens via icesConnect.
- Introduce the use of caching for some functions to reduce API requests.
- export GET and POST request functions.
- Depreciate redundant graph functions (e.g. YSSBR).
- New functions to set package options: sag_use_token() and sag_messages().
- Link messages package option to quiet argument in get requests.
- GetListStocks now accepts a stock and modifiedAfter arguments for additional server side filtering.
- Remove file upload capability.
- bug fix for stockInfo() and documentation.
- add new function getCustomColumns().
- Display warning if stock name contains – and not -, and quietly fix.
- Allow upload to contiue if errors found by DATSU - gives warning, not error.
- Add function to parse stock status table values due to change in web service XML data structure.
- Fix name in upload format specification CatchLandingsUnits.
- Fixed bug in parsing of XML tables. Function now reads the WSDL data that is included as an internal data set (list of variable names)
- Set all examples to dontrun
- code now checked against lintr for consistent style
- added function getStockSourceData() to download the XML file that was origionally uploaded.
- added function getLatestStockAdviceList()
- export print methods for sag.list and sag.data.frame for fishdata and fishinfo objects used to upload data.
- improved personal access token logic
- improved help documentation
- Added StockCategory, Purpose, ModelType, ModelName to upload functions
- Added filter for assessment Purpose in getSAG()
- fixed bugs arising from changes to xml2 package
- fixed bug arsing from change in ICES Datsu web service
- User sets SAG database access token in a ~/.Renviron_SG file.
- Addressed non CRAN compliant behaviour: user must create .Renviron file themselves.
- Improved createSAGxml() internal data validation.
- Added function uploadStock() to upload data to SAG database via uploadXMLFile(). The functions readSAGxml() and createSAGxml() convert data to and from SAG XML upload format.
- Added functions stockInfo() and stockFishdata() to prepare data for upload. Uploads require user access tokens, available from the main SAG website.
- Added function getStockStatusValues() to get stock status table, and getYSBRSummaryTable() to get yield and SSB per recruit.
- Added functions getSAGSettings() and setSAGSettings() to get and set graph settings. The function getSAGTypeGraphs() lists the SAG graph types.
- Renamed findKey() to findAssessmentKey().
- Hotfix release to match changes in the underlying web service, regarding assessment keys.
- Added functions get*Graph() to fetch standard graph images, with a corresponding plot() method. The convenience function getSAGGraphs() fetches four commonly used graphs.
- Added argument 'regex' to findKey().
- Fixed bug in getSAG() when different column names appear in stock summaries and combine = TRUE.
- Removed dependency on RCurl and XML by using base functions to download and parse data.
- Added function findKey() to look up a unique stock list key.
- Added function getSAG() to import summary results and reference points, without finding a lookup key first.
- Changed argument in functions getSummaryTable() and getFishStockReferencepoints() from 'year' to 'key'.
- Improved XML parsing, so both leading and trailing white space is removed.
- Improved XML parsing, so "" and "NA" is converted to NA.
- Improved XML parsing, so data frame columns are automatically coerced to the appropriate storage mode (character, numeric, integer).
- Initial release, with functions getListStocks(), getSummaryTable(), and getFishStockReferencePoints().