Skip to content

Releases: gfcm/gfcmSTAR

Version 2.3.0

08 Nov 00:26
Compare
Choose a tag to compare
  • Added function write.report().

  • Improved report() to handle empty data frames.

  • Renamed import_export.R script to import.R.

  • Removed vignettes which have been superseded by the import.R script, now linked from the package help page.

Version 2.2.1

31 Oct 11:03
Compare
Choose a tag to compare
  • Improved report() to specify which error messages and QC issues stem from which file. The output now includes file numbers to make it easier to visually keep track of filenames, import errors, and QC issues.

  • Improved qc() so it returns a descriptive string instead of TRUE or FALSE.

Version 2.2.0

30 Oct 12:48
Compare
Choose a tag to compare
  • Added function append.id() to modify the Assessment_ID of an existing STAR object.

  • Added function diff.stars() and identical.stars() to compare STAR templates/objects.

  • Added functions qc.ts.names() and qc.ts.numbers() to check if time series column names are intact, and that time series are numbers and not strings.

  • Added function report() to report files successfully imported.

  • Added arguments 'short', 'qc', and 'quiet' to import.many.templates().

  • Added argument 'short' to qc.exists(), qc.star(), qc.vpa(), and qc.xlsx().

  • Improved import.many.templates() and qc() to show current filename while processing a directory.

  • Improved peek() to handle files and directories, in addition to STAR objects and clusters. The default value of 'field' is now "Assessment_ID".

  • Improved read.template() to support edge cases where Excel STAR templates contain time series as text instead of numbers.

Version 2.1.0

26 Jul 17:08
Compare
Choose a tag to compare
  • Added support to read STAR templates version 2.1.

  • Improved read.template() to support edge cases where Excel STAR templates contain metadata table objects that have expanded beyond their original size.

Version 2.0.1

09 Jun 13:13
Compare
Choose a tag to compare
  • Improved qc() so it can handle a single Excel STAR template file or a directory containing Excel STAR templates.

  • Added a generic import_export.R template inside the 'scripts' folder, to semi-automate the STAR import and export procedure to generate CSV files for the STAR database.

Version 2.0.0

08 May 18:03
Compare
Choose a tag to compare
  • Added function export.many.csv() to export many STAR objects to CSV files.

  • Added function peek() to examine a metadata field of STAR objects.

  • Improved read.template() to support older versions of R.

  • Removed Metadata field Assessment in read.template() and set.classes().

  • Changed Metadata field Assessment_ID from UUID to a combination of reference year, species, GSA, and an optional suffix in read.template().

  • Removed 'uuid' package dependency.

Version 1.1.0

05 May 15:16
Compare
Choose a tag to compare
  • Added function import.many.csv() to import many CSV files from a directory tree.

  • Added function read.star.csv() to read a pair of CSV files into a STAR object.

  • Added function set.classes() to convert Metadata and TimeSeries data types.

  • Renamed import.dir() to import.many.templates().

  • Renamed write.star() to write.star.csv().

  • Renamed Metadata field Rec_Unit to Recruitment_Unit in read.template().

  • Converted TimeSeries column names to Start_Case in read.template().

  • Changed write.star.csv() so it returns TRUE or FALSE.

  • Removed TimeSeries columns containing Effort in read.template(). In the STAR database, Effort is handled as a special case of Fishing where Exploitation_Unit = Effort.

Version 1.0.1

04 May 10:53
Compare
Choose a tag to compare
  • Added argument 'pattern' in import.dir().

  • Added argument 'prop' in read.template().

  • Added argument 'force' in write.star().

  • Added metadata fields in read.template(): SharePoint_Folder, Person_Modified, Time_Modified, Time_Imported.

  • Added vignette on exporting a list of STAR objects to CSV files.

Version 1.0.0

30 Apr 14:54
Compare
Choose a tag to compare
  • Initial release, with functions to import STAR template version 1.0 and a vignette import.Rmd.