R interface to access the web services of the ICES Stock Assessment Graphs database < http://sg.ices.dk>.
o added function getLatestStockAdviceList() o export print methods for sag.list and sag.data.frame for fishdata and fishinfo objects used to upload data. o improved personal access token logic o improved help documentation o Added StockCategory, Purpose, ModelType, ModelName to upload functions o Added filter for assessment Purpose in getSAG() o fixed bugs arising from changes to xml2 package o fixed bug arsing from change in ICES Datsu web service
o User sets SAG database access token in a ~/.Renviron_SG file. o Addressed non CRAN compliant behaviour: user must create .Renviron file themselves.
o Improved createSAGxml() internal data validation.
o 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.
o Added functions stockInfo() and stockFishdata() to prepare data for upload. Uploads require user access tokens, available from the main SAG website.
o Added function getStockStatusValues() to get stock status table, and getYSBRSummaryTable() to get yield and SSB per recruit.
o Added functions getSAGSettings() and setSAGSettings() to get and set graph settings. The function getSAGTypeGraphs() lists the SAG graph types.
o Renamed findKey() to findAssessmentKey().
o Hotfix release to match changes in the underlying web service, regarding assessment keys.
o Added functions get*Graph() to fetch standard graph images, with a corresponding plot() method. The convenience function getSAGGraphs() fetches four commonly used graphs.
o Added argument 'regex' to findKey().
o Fixed bug in getSAG() when different column names appear in stock summaries and combine = TRUE.
o Removed dependency on RCurl and XML by using base functions to download and parse data.
o Added function findKey() to look up a unique stock list key.
o Added function getSAG() to import summary results and reference points, without finding a lookup key first.
o Changed argument in functions getSummaryTable() and getFishStockReferencepoints() from 'year' to 'key'.
o Improved XML parsing, so both leading and trailing white space is removed.
o Improved XML parsing, so "" and "NA" is converted to NA.
o Improved XML parsing, so data frame columns are automatically coerced to the appropriate storage mode (character, numeric, integer).
o Initial release, with functions getListStocks(), getSummaryTable(), and getFishStockReferencePoints().