Adding code for codebook adjustments where identifiers (crunch alias, crunch name) are long
Fix negative signs on table labels for categorical array and multiple response variables
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
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
Updates to vignettes
INNOV-326 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.
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
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
Features:
Relabeling for items, options, descriptions and notes via relabel #247. Allows for arbitrary question text adjustment #138#55
Allows variable pass through in tracking reports such that questions that appear in one or more waves (but less than all waves) are displayed appropriately and in the order specified.
Adds option to remove page numbers from toplines/crosstabs (#200)
Add toplines() function as an alias to crosstabs() (#201)
Add functionality for flipping grids and presenting recontact questions (#103 )
Fixes two new issues with codebooks where kableExtra added breaking elements and an issue with the basename of a dataaset containing special characters (#204, #205 )