Releases: Crunch-io/crunchtabs
Releases · Crunch-io/crunchtabs
crunchtabs 2.0.1
crunchtabs 2.0.0
- Rounding in variables summaries changed to match Crunch method of rounding, rounding half to up rather than rounding half to even. This ensures summaries shown in reports match Crunch variable summaries.
- Rounding calculated after variable subtotals to address Crunch discrepancies
- Fixes issue with calculation of variable subtotals to allow for differences as well as sums to be reported
- writeCodebookLatexGeneric ensures large vectors to be summarized are stored in memory by R in such a way as to drastically improve compute times. Integer, numeric, and factor variables read from arrow datasets using dplyr::pull were inefficiently being stored as int, numeric, and factor, rather than Large Integer, Large Numeric, and Large Factor, making them harder for summaries to be calculated quickly for very large vectors.
crunchtabs 1.4.4
- Fixes a regression where absolutelynopagebreak was duplicated or not functional in some situations. (pagebreak_in_banner=TRUE and one_per_page=FALSE)
crunchtabs 1.4.3
Changes made for trackingReports:
- categorical_arrays were previously spliced into the first position at every question iteration, leading to questions being presented out of vector order in the resulting pdf output. This update patches the results list back together when splicing the array questions in-place. Now, the order of variables is the same as the order presented in the output pdf. (INNOV-498)
- When a categorical_array is flattened into categoricals inside of a trackingReport, the names of the subvariables are regenerated. If the user is using latex_flip_specific_grids the question name will not be the original categorical array's name. A warning is now shown that provides the user with instructions on the explicit names to use in latex_flip_specific_grids. (INNOV-498)
- The vignette for tracking reports has been: reorganized for clarity, updated with more recommendations, and clarifies some finer points related to relabelling, and restructuring data for use with tracking reports. (INNOV-498)
crunchtabs 1.4.2
- writeCodeBookLatex should not open by default. Add function argument open = FALSE. This avoids a situation in non-interactive sessions where the process would otherwise be stuck as it attempts to open a GTK program from a bash session. (INNOV-326)
- Small change in how appendices are automatically identified. Previous iterations prepared long tables with the longtabu package. However, this tex package overwrote numeric presentation options from siunitx. This has been changed to longtable, which respects siunitx. Now appendix long tables are identified by the length of lines in their tex (20 or more).
crunchtabs 1.4.1
Features:
- Multiple adjustments for tracking report edge cases
- In a tracking report, if an alias appears only once we now specify that by appending the wave label to the question's note.
- In a tracking report, we now have the option to show a variable only once even if it appears in multiple datasets.
Fixes:
- In some cases there are duplicated row names in different positions when we use cbindFill, we did not account for this possibility.
- When creating a tracking report for a multiple response question, it's possible that one or more of the responses is not included in one or more of the waves, we have added a tryCatch to accomodate this possibility.
- themeNew documentation was missing a closing } that silently broke the display of documentation via ?themeNew.
- When converting MR variables we rename subVars using numbers. If a researcher included an alias with the same number they would collide. Now we assign random strings instead of sequential numbers to the subVars.
crunchtabs 1.4.0
crunchtabs 1.4.0
Features:
- Relabeling for items, options, descriptions and notes via relabel #247. Allows for arbitrary question text adjustment #138 #55
- Tracking reports #232
- Recontact reports #232
- Now get a warning when you attempt to make a codebook from a weighted dataset #226
- Major updates to vignettes for tracking/recontacts #218
- Option to show only the first appearance of an alias in a tracking report as a single categorical #241
- Added ability to generate a codebook from a generic dataset using generated metadata #227
- Added ability to generate codebooks from large arrow datasets #227
- Automatically align variables, by adding "-" where category has no responses #245, #243
Fixes:
crunchtabs 1.3.1
- A small release that allows pass-through for singular variables in tracking reports
crunchtabs 1.3.0
New features:
- Adds support for custom weights (more than one weight in the same topline/crosstab) (#209)
- Adds support for recontact_toplines (#199)
- Adds functionality for flipping grids on an exceptional basis (#212)
- Adds option to remove page numbers from toplines/crosstabs (#200)
- Add toplines() function as an alias to crosstabs() (#201)
- Add functionality for flipping grids globally (#103 )
- Vignettes for recontact toplines, custom weights and other (#218) (Building now)
Bugfixes:
crunchtabs 1.2.9
- Codebook question descriptions now appropriately escape special characters (#187)
- Added option enforce_onehundred which allows one to avoid rounding errors in totals rows (#189)
- Codebook table of contents overruns, cutting text and adding "..." (#186)
- Codebook generation now supports a filepath (#185)
- Added vertical space before append_text (#182)
- Bugfix: append_text that is multiple lines du0lpicated vertical space. Collapsing. (#191)
- Remove requirement for dev version of kableExtra (#184)