Skip to content

gtools-1.1.2

Compare
Choose a tag to compare
@mcaceresb mcaceresb released this 26 Nov 05:32
· 316 commits to master since this release

Release update. Various bug fixes and minor improvements. Remember to run gtools, upgrade to keep up to date between major updates.

Enhancements and Features

  • Improved variable parsing in general (including '-' handling).

  • gcollapse (nmissing) counts the number of missing values (weights allowed).

  • gcollapse (nansum) and gcollapse (rawnansum) preserve missing value (NaN) information: If all entries are missing, the output is also missing (instead of 0). This is a more flexible version of the previous implementation, gcollapse, missing.

  • gcollapse, merge and gegen now accept the undocumented option _subtract to subtract the result from the source variable. This is an option meant for advanced users, so no additional checks have been added. If you use it then you know what you're doing.

  • Added option sumcheck to create sum targets from integer source as the smallest type that reasonable given the total sum.

Bug fixes

  • gisid no longer gives wrong results when the data is partially ordered. Partially (weakly) sorted data in prior version was incorrectly counted as totally sorted.

  • gcollapse (rawsum) gives 0 if all entries are missing.

  • gcollapse and gegen correctly parse types with weights for counts and sums. This includes gcollapse, sumcheck

  • Recast upgrade (bug fix from 1.0.5) now done per-variable.

  • gcollapse no longer gives wrong results when count is the first of multiple stats requested for a given source variable. Previous versions wrongly recast the source as long.

  • Gtools exits with error if _N > 2^31-1 and points the user to the pertinent bug report.