Debian Codegraph @

inst/ChangeLog-old

raw
1 2023-05-12:
2 - Added 'neg2mis()' function that marks negative values of variables in a
3 data set as missing.
4
5 2023-04-20:
6 - Added 'keep' argument to 'Reshape()'
7
8 2023-03-26:
9 - Made 'getSummary.lm()' work with models without intercept
10
11 2023-03-07:
12 - Added licence statements to copied code.
13
14 2023-01-14:
15 - Made 'coarsen()' more stable.
16
17 2022-12-31:
18 - Added '%$%' and '%$$%' operators to simplify data transformations and reports
19 usually done with 'with()' or 'within()'.
20
21 2022-12-30:
22 - Added '%if%' operator for conditional assignment to variables.
23
24 2022-10-02:
25 - Added 'as.nominal()', 'as.ordinal()', 'as.interval()', and 'as.ratio()'
26 functions.
27 - Improved comparison of labelled survey items.
28
29 2022-10-01:
30 - Removed dependency on 'repr' package.
31
32 2022-09-29:
33 - Added new 'mtfrm' methods for compatibility with changes in 'match' as
34 suggested by Kurt Hornik
35 - Removed extraneous backslashes from documentation
36
37 2022-08-28:
38 - Several extensions of the 'foreach()' function:
39 (1) The colon-argument is better handled, which can be controlled
40 with a new argument '.sorted'
41 (2) It is now possible to select variables using regular expressions.
42 - The function 'xapply()' is similarly extended and exported.
43 - Both 'foreach()' and 'xapply()' can be used like an "outer product",
44 by setting the argument '.outer' to TRUE.
45
46 2022-08-27:
47 - Improved the order of variables of the result of 'Reshape(...,direction="wide")'
48 - Added 'description()' methods for data frames and tibbles.
49 - Added a 'codebook()' method for tibbles.
50
51 2022-08-26:
52 - Added methods for factors, vectors, lists, and data frames of the
53 'percentages()' generic.
54
55 2022-08-20:
56 - Refactored 'format_md()' to integrate it better to the existing codebase of
57 the package.
58
59 2022-08-19:
60 - Defined new generic 'measurement_autolevel()' to automatically select the
61 most suitable measurement level for survey items.
62
63 2022-08-17:
64 - Added 'format_md()' S3-generic function to format codebooks in Markdown
65 - Defined a new generic 'coarsen()' function.
66
67 2022-08-13:
68 - 'codebook()' now fully supports logical vectors.
69
70 2022-08-11:
71 - 'recode()' now keeps NAs as NAs unless they are recoded explicitly.
72 (However, this makes a difference only when the 'otherwise' argument is given.)
73
74 2022-07-01:
75 - Impremented YAML and JSON import and export of "codeplan" objects.
76
77 2022-06-28:
78 - 'trim_labels()' now handles items without labels gracefully.
79 - 'spss.system.file()', 'spss.portable.file()', and 'Stata.file()' get
80 a 'negative2missing' option.
81 - 'collect.data.frame()' and 'collect.data.frame()' gain a 'use_last'
82 and a 'detailed_warnings' option.
83
84 2022-05-24:
85 - item-more-methods-...: any(ism | isna) not 'any(ism || isna)'
86
87 2022-02-25:
88 - Export S3 methods instead of S4 methods for 'format()'.
89 - Allow ':'-operator for ranges of variables in 'foreach()'
90
91 2022-01-06:
92 - Add format method for "data.set" objects.
93 - Fix row names of subsets of importer objects.
94
95 2021-10-07:
96 - 'unclass' "item.vector" objects in 'as.character()' to
97 avoid infinite recursion and stack overflow (as suggested by Kurt Hornik)
98
99 2021-08-01:
100 - Improved handling of labels in 'recode()'
101 - Corrected counting of cases in SPSS fixed format files
102
103 2021-07-31:
104 - Enable recoding from factor (or character) to numeric
105
106 2021-07-26:
107 - Fixed handling of missing values in 'Means()'
108 - Handle 'cbind()' in 'Means()' nicely
109
110 2021-05-24:
111 - Fixed use of file-supplied encoding information.
112
113 2021-05-03:
114 - Fixed handling of missing values (NA) in 'cases()'.
115
116 2021-04-06:
117 - Added a new 'Means()' generic function for the convenient computation of
118 group means.
119
120 2021-02-14:
121 - Renamed 'reverse_codes()' to 'reversed()', which now leaves missing
122 values unchanged.
123
124 2021-01-25:
125 - Made function 'reorder_codes()' redundant and memoved it.
126
127 2021-01-23:
128 - Made the subset methods use S3-methods (again).
129
130 2021-01-17:
131 - Make copying of labels while recoding work again.
132 - Make 'recode()' warn about NAs being created.
133 - Add a new optional '.default' and '.complete' arguments to 'cases()'.
134
135 2021-01-16:
136 - Added functions 'reorder_codes()' and 'trim_labels()'.
137
138 2020-12-15:
139 - Fixed creation of codebooks for character vectors.
140
141 2020-11-18:
142 - Fixed error caused by a change in 'getS3method()' introduced by R r79435:
143 'getS3method()' now enforces a the hitherto undocumented restriction that
144 the 'cls' argument must have length 1.
145 - Added 'title' metadata to Rmarkdown vignettes.
146
147 2020-11-01:
148 - Fixed 'as.item()' methods for "haven_labelled" objects etc.
149 - Variance component estimates of "merMod" and "clmm" objects are reported
150 as distinct statistics.
151 - An attempt to coerce an "importer" object into a data frame directly is now flagged
152 as an error.
153 - Change some http-urls in the DESCRRIPTION and the documentation to https-urls.
154
155 2020-10-10:
156 - 'codebook()' better handles character variables in SPSS system files.
157 - 'spss.system.file()' uses information in the file about the intended
158 measurement level of the variables, however, this is optional and can be
159 switched off.
160
161 2020-08-21:
162 - Added new option 'fold.leaders' to 'toLatex' method for 'ftable' objects
163
164 2020-08-16:
165 - Added support for compressing output regarding control variables in 'mtable()'.
166
167 2020-08-12:
168 - Some 'setOldClass()' calls are now conditional on the absence of certain
169 packages.
170 - A general 'getSummary_expcoef()' default method is now provided,
171 which is widely applicable as it builds on 'getSummary()'.
172
173 2020-08-10:
174 - Minor fix in documentation for 'collect()'.
175
176 2020-08-05:
177 - Bugfix: 'genTable()' and 'Aggregate()' now correctly handle implicit
178 frequency weights
179
180 2020-07-30:
181 - Bugfix: Make 'codebook()' work with factors that have empty levels (i.e. no
182 observations for certain levels).
183
184 2020-07-28:
185 - Added 'mtable' support for 'clmm' objects (package "ordinal"") and improved
186 support for 'merMod' objects (package "lme4").
187
188 2020-07-14:
189 - Made sure that variable labels are retained by 'as.vector' and
190 'as.data.frame' even for items with 'interval' or 'ratio' level of
191 measurement.
192
193 2020-07-05:
194 - Made 'deduplicate_labels' methods for "data.set"-objects a bit more
195 resilient
196
197 2020-07-05:
198 - Fixed bug in the creation of codebooks
199
200 2020-06-27:
201 - Fix warnings about 'Non-file package-anchored link(s) in documentation
202 object'
203
204 2020-06-19:
205 - Added documentation about coercion of items into vectors, etc.
206
207 2020-06-18:
208 - Fixed 'as.data.frame()' method for extended tables of percentages (i.e.
209 those that include standard errors or confidence intervals).
210
211 2020-06-17:
212 - Add 'include.missings' option to 'as.character()' coercion method for
213 "item.vector" objects.
214
215 2020-06-16:
216 - Added an explicit 'as.data.set()' method for "tibbles", which seems to be
217 necessary, because under some circumstances method dispatch via inheritence
218 does not seem to work.
219 - Added methods to apply 'codeplan()' to individual survey items and to set
220 'codeplan()' to NULL.
221
222 2020-06-09:
223 - 'as.item()' and 'codebookEntry()' methods are added for objects of class
224 "labelled" as they occur in some imported tibbles.
225 - 'as.item()' now drops non-unique labelled values when applied to a
226 "labelled", "haven_labelled", or "haven_labelled_spss" object.
227
228 2020-06-05:
229 - With 'codebook()' it is now possible to disable the display of unweighted
230 data summaries.
231 - In accordance to future deprecation of the function
232 'default.stringsAsFactors()' the default value of the 'stringsAsFactor'
233 argument is now FALSE.
234
235 2020-05-26:
236 - The character set encoding in an SPSS file is now detected (if information
237 is available) and used to translate the variable labels and value labels.
238
239 2020-05-25:
240 - Added support for weighted codebooks from importer objects
241 - Added documentation about use of weights
242 - Added support for subsetting codebooks with '$', '[', and '[['
243 - Fixed a bug that prevented 'genTable' and 'Aggregate' to work as expected
244 with data.set objects
245 - Measurement levels of variables in 'data.set' objects are now obtained from
246 the metadata in the SPSS file (if available)
247
248 2020-05-24:
249 - Drop skewness and kurtosis from codebook output
250
251 2020-05-19:
252 - Added support for weighted codebooks from in-memory data.set objects
253
254 2020-03-14:
255 - Added 'deduplicate_labels()' function to deal with duplicated value labels.
256
257 2020-01-02:
258 - Added convenience wrappers 'Mean()', 'Var()', etc. to basic stats
259 functions such as 'mean()', 'var()', etc.
260 - 'rename()', 'relabel()', 'dimrename()', etc. now also work without
261 quoting the new labels, i.e. 'rename(x,a=A)' now works like 'rename(x,a="A")'.
262
263 2019-12-31:
264 - Changed 'Groups' from S4-generic to S3-generic
265
266 2019-12-30:
267 - 'n_', 'N_', and 'i_'are available in 'with(Groups)' and 'within(Groups())'
268 - 'N_' is available in 'within' for data.sets
269
270 2019-12-29:
271 - 'genTable' and 'Aggregate' now internally use 'with(Groups(...),...)
272
273 2019-12-24:
274 - 'withGroups', 'withinGroups', as well as 'with' and 'within' for
275 grouped data is now considerably more time efficient.
276
277 2019-12-17:
278 - 'codebook' now makes use of the "label" attribute of variables if the
279 attribute is present.
280
281 2019-12-15:
282 - 'measurement<-' can be used to change the measurement level of several
283 variables in a 'data.set' object. Also a 'set_measurement' function is
284 defined for the same purpose.
285
286 2019-12-14:
287 - Added 'as.data.table' method to 'data.set' objects, to allow export of
288 'data.set' objects into data.tables.
289
290 2019-12-10:
291 - Further improvements of 'Reshape', added the possibility to
292 specify identifier variables.
293
294 2019-12-09:
295 - Symplified further the call-syntax of 'Reshape'
296
297 2019-12-08:
298 - Handle SPSS files created with ReadStat/haven, that lack information
299 about the number of variables in the header.
300 - Added support for SPSS syntax file with different encoding
301 - Added methods for NULL for 'labels', 'value.filter', 'codebook'
302 and 'codeplan' generics.
303
304 2019-12-01:
305 - Declared 'charbuf' static in R-for-dta.c and R-for-dta117.c to avoid
306 compilation error with GCC 10.
307
308 2019-11-28:
309 - Added new function 'view_html' for use with 'view'.
310
311 2019-11-21:
312 - Added sensible 'head' and 'tail' methods for "data.set" and "importer"
313 objects.
314 - The function 'recode' is made to behave more coherently: If a labelled
315 vector is the result of 'recode' it gets the measurement level
316 "nominal". Factor levels explictly created first come first in the order of
317 factor levels.
318
319 2019-11-20:
320 - Added an extensible 'view' function which internally uses a generic
321 function 'viewPrep' to make it work with objects that are not (yet)
322 supported by the implementation of 'View' in base R or RStudio.
323
324 2019-11-19:
325 - Added a 'as.data.frame' method for "description" objects, as they are
326 returned by 'description' applied to "importer" and "data.set" objects.
327
328 2019-11-17:
329 - Added 'as_tibble' and 'as_haven' methods for "data.set" objects.
330 - 'as.data.set' and 'as.item' now handle attributes of variables in tibbles
331 imported with the 'haven' package. 'as.item' methods handle vectors with
332 class "haven_labelled" or "haven_labelled_spss".
333 - Methods of 'as.orders', 'as.factor' 'as.vector', 'as.character' for "item"
334 objects attach "description" annotations as "label" attributes to their
335 results.
336
337 2019-11-10:
338 - Improved handling of missing values in grouping factors in 'Groups',
339 'withinGroups', etc.
340 - Added 'encoded' and 'iconv' arguments to importer methods that allow to
341 re-encode variable labels and value labels while importing SPSS and Stata
342 files.
343 - Added a 'spss.file' function that can be used to import both SPSS
344 "portable" and "system" files.
345 - SPSS file importers do no longer change variable names to lowercase by
346 default. The ANES 1948 vignette is changed accordingly.
347
348 2019-11-09:
349 - Added support for added missing values in Stata files prior to rev. 117.
350 - Improved 'codebook' output:
351 - Added a designated function to create tables of counts in codebook
352 entries.
353 - Codebook shows user-defined missing values in a table separate from
354 discrete statistics.
355 - Description of user-defined missing values is made a bit more stringent.
356 - Added support for setting annotations, value labels, or value filters to
357 NULL even if they are not of class "item"
358
359 2019-11-07:
360 - Added user-level support for Stata files in the newer format of rev. 117,
361 118 and 119.
362
363 2019-11-06:
364 - Fixed ecoding problems in value labels of Stata files: 'nzchar' is used
365 instead of 'nchar' to check for existence of value labels.
366 - Added low-level support for Stata files in the newer format of rev. 117,
367 118 and 119.
368 - Avoid deletion of empty pointers
369
370 2019-10-31:
371 - Created and documented a 'Reshape' function as convenience wrapper for 'reshape'.
372
373 2019-10-27:
374 - Implemented classes and methods for data manipulation within groups
375 of rows of data frames and data sets.
376
377 2019-10-12:
378 - Implemented 'List' function that names element like 'data.frame()'
379
380 2019-04-05:
381 - Fixed handling of S4 objects in collect(): If the first couple of
382 elements are NA and the non-NA element is an S4 object (e.g. of class
383 "item"), the result is now made sure to be an S4 object.
384
385 2019-03-16:
386 - Added syntactical sugar to manipulate annotations and attributes.
387
388 2019-03-16:
389 - Fixed import of value labels for string variables in 'spss.system.file'
390 - Fixed codebook representation of datetime items in SPSS system and portable files
391 - Support for date or datetime import added to 'spss.portable.file'
392
393 2019-03-15:
394 - Support for date or datetime import added to 'spss.system.file'
395 - Minor bugfix in printing of 'datetime.item's - added bracket method for
396 this class of objects
397
398 2019-03-14:
399 - Fixed issues flagged by Tomas Kalibera's rchk utility
400
401 2018-11-17:
402 - Added 'dublicated_labels()' function to show and describe duplicated
403 labels
404 - Let importers give more useful warnings about duplicated labels
405
406 2018-11-01:
407 - Fix formatting of results of 'mtable' without summary statistics
408 - Warn if 'toLatex' output of 'mtable' results creates unescaped TeX specials
409 - Define sensible defaults for the selection of summary statistics in 'mtable'
410
411 2018-10-26:
412 - Allow to select summary statistics for models in 'mtable' via options or
413 list arguments.
414
415 2018-10-23:
416 - Handle visibility of binary code symbols correctly for R releases 3.3.0 through 3.3.3
417
418 2018-10-22:
419 - Defined dollar and double-bracket operators for 'importer' objects to facilitate
420 creating codebooks for individual variables.
421
422 2018-10-20:
423 - The 'subset' method for 'importer' objects now accepts the names of
424 variables to be selected also as a character vector.
425 - Fixed 'format_html' for codebooks of data frames with factors.
426
427 2018-10-15:
428 - A 'setCodeplan' and 'codeplan<-' assignment function is created that
429 can be used to copy the "item structure" or code plan from one object
430 to another.
431
432 2018-10-14:
433 - A 'codeplan' function creates a data frame that
434 describes the structure of an "importer" or "data.set" object.
435
436 2018-10-05:
437 - 'mtable' objects exported to HTML now include a legend for significance symbols.
438
439 2018-10-04:
440 - 'mtable' objects exported to LaTeX now include a legend for significance symbols.
441
442 2018-09-30:
443 - Adapt 'spss.fixed.file' to data files with lines that are "too long".
444 - Export C-function 'readfixedslice'.
445
446 2018-09-07:
447 - Define double() only if R version is < 3.6.0
448 - Remove crossrefs to 'car' package to escape the depency hell created by
449 that package
450
451 2018-07-10:
452 - Handle SPSS "Portable files" with weights and empty value labels
453
454 2017-12-20:
455 - Explicitly allow installation with R versions from 3.3.0
456 - Fixed warning about tautological comparisons shown by check with
457 flavor 'r-devel-linux-x86_64-fedora-clang'.
458
459 2017-12-19:
460 - Fix compilation problems with R version < 3.4
461
462 2017-12-11:
463 - Made bracket subsetting of mtable results safer and more coherent.
464
465 2017-12-10:
466 - Allow package to be installed and run with R versions < to 3.4
467
468 2017-12-01:
469 - Set a more sensible default for optional argument "show.eqnames" and
470 global option "mtable.show.eqnames".
471
472 2017-11-19:
473 - Fixed obscure bug affecting import of spss system files under 32bit Windows.
474 This bug was caused by excessive optimisation of for loops by the C compiler.
475
476 2017-11-11:
477 - 'print' method for 'mtable' objects now shows a legend for significance symbols.
478
479 2017-11-05:
480 - Made the display of left-hand sides of model equations optional in the
481 output of `mtable()` by providing an optional argument "show.eqnames"
482 and a global option "mtable.show.eqnames".
483
484 2017-10-31:
485 - Fixed (internal) `readChunk` method for fixed-format files with SPSS meta data.
486
487 2017-10-21:
488 - Implemented explicit option to control whether equation titles
489 (or names of dept. variables) are printed from `mtable'.
490
491 2017-10-11:
492 - Made 'toLatex.escape.tex' an explicit option for 'toLatex' methods
493 provided by the package
494
495 2017-09-30:
496 - Included 'read_sysfile_slice' in 'CallMethods'
497 - Removed some potentially stale links from vignette 'mtable-html'
498
499 2017-09-08:
500 - Empty cells in HTML tables (which break their formatting by 'pandoc' if included
501 in markdown format files) are now avoided
502
503 2017-09-06:
504 - Lines without contents from 'mtable()' results are now automatically dropped
505 - Added support for additional statitics without standard errors in 'mtable()'
506 - Improved mtable support for merMod objects (created by package "lme4")
507
508 2017-09-03:
509 - Completed list of exported C functions in 'CallMethods'
510 - Removed getSummary support for long obsolete class 'mer'
511 - Adapted getSummary support for class 'merMod'
512 - Removed 'varPar.as.coef' argument from 'getSummary.merMod'
513
514 2017-09-02:
515 - Moved basic getSummary methods into specific file
516 - Made excaping of '$', '_', '^' optional when exporting to LaTeX
517 - Adapted getSummary methods contributed by Christopher Lawrence (polr, clm, simex) to new version of 'mtable'
518 - Adapted getSummary methods contributed by Jason W Morgan to new version of 'mtable'
519 - Adapted getSummary methods contributed by Dave Atkins to new version of 'mtable'
520
521 2017-09-02:
522 - Adapted getSummary methods contributed by Achim Zeileis (ivreg, tobit, hurdle, zeroinfl,
523 betareg, multinom) to new version of 'mtable'
524
525 2017-08-18:
526 - Improved array semantics of 'mtable' objects. Reordering
527 of coefficients should work as expected after regression introduced
528 by last refactoring.
529 - Standard getsummary methods now report name of dependent variables
530 - 'mtable' now reports dependent variables of single equation models,
531 if they differ (and the 'getSummary' methods support this)
532 - Fixed relabeling of 'mtable' results after regression introduced
533 by last refactoring.
534 - 'mtable' optionally shows dependent variables even if they
535 are the same in all models.
536
537 2017-08-16:
538 - Make sure that 'PrettyNames' is always applied when an 'mtable' object is
539 formatted.
540 - Escape TeX active chars '$', '_', '^' in toLatex methods etc.
541
542 2017-07-29:
543 - Fix refactoring: `c.memisc_mtable` and `[.memisc_mtable` now return objects
544 with the correct class attribute.
545 - Make package depend on R version 3.4
546
547 2017-07-13:
548 - Fix handling of matrices contained in data frames by `toLatex()`
549 - `useDcolumn` and `useBooktabs` arguments of `toLatex()` methods now have
550 global options as defaults
551
552 2017-07-11:
553 - Restrict visibility of object code symbols to package initialisation routine
554
555 2017-07-10:
556 - Deal with PROJECT issues reported by Tomas Kalibera: Add PROTECT to objects
557 for which attributes are set
558 - Provide Call method registration for functions called from C-code
559
560 2017-07-09:
561 - Bugfixes for `repr_html()` methods
562 - Eliminate dependence on IRdisplay package
563
564 2017-07-03:
565 - Change class of objects created by `mtable()` from "mtable" to "memisc_mtable"
566 to avoid name clash with objects created by `model.table()` from package
567 "stats".
568
569 2017-07-02:
570 - Support for output in Jupyter notebooks.
571
572 2017-06-02:
573 - Completed support for output as print, LaTeX, and HTML for new mtable
574 architecture.
575
576 2017-05-30:
577 - Introduced support for multi-line headers.
578
579 2017-05-26:
580 - Architectural change for objects produced by `mtable()`. This allows
581 several types of parameters, such as coefficients and variances.
582
583 2017-05-26:
584 - Adapted `show_html()` to use within Jupyter Notebooks
585
586 2017-05-19:
587 - Created methods for `repr_html()` to support HTML output in Jupyter
588 notebooks
589
590 2017-03-05:
591 - Fixed handling of empty summaries in `mtable()`
592 - Better "splash screen" section of LaTeX formatted mtable objects.
593
594 2017-02-03:
595 - Fixed a bug in `relabel` method for `item'
596 objects. `relabel(x,...,gsub=TRUE)` should now work as expected.
597 - Fixed a bug in `readLabPorStream`, coming from wrong assumptions about the
598 encoding of value labels of character string variables in "portable"
599 files. Some more SPSS "portable" files should now read into R.
600
601 2016-12-24:
602 - New `withVCov` and `withSE` generic functions to more
603 conveniently provide sandwich estimates of variances and standard
604 errors
605
606 2016-09-28:
607 - More efficient 'subset' method for large external data sets
608
609 2016-07-09:
610 - No 'useRs' in DESCRIPTION and software names in single quotes
611
612 2016-07-08:
613 - Suggest 'rmarkdown' package
614
615 2016-07-02:
616 - Fix type that crept in while fixing bug in parseSysHeader
617
618 2016-06-05:
619 - Fix 'felicity' issue pointed out by Martin Maechler
620 - Make formatting of codebooks a bit more robust
621
622 2016-04-30:
623 - Fix issue #8 - `toLatex.ftable()` does no longer attempt to show
624 titles if they are not available.
625 - Fix issue #1 (error in 'parseSysHeader')
626
627 2016-04-29:
628 - Make `cases()` robust with respect to NA conditions.
629
630 2016-04-17:
631 - Fix extracolsep in `toLatex.ftable()` as suggested by Kirill Müller
632
633 2016-02-21:
634 - Make the use of ampersand-escapes in HTML output optional and use unicode characters
635 by default. (So that pandoc will not escape them.)
636 - Minor improvenent of `c.mtable()`.
637
638 2016-02-07:
639 - Unified headlines in vignettes.
640
641 2016-02-02:
642 - Implemented "Date.item" class, which allows to use `data.set` or `as.data.set`,
643 etc. with "Date" objects.
644
645 2016-01-29:
646 - Use `any(is.na(...))` instead of `anyNA(...)` in `[.mtable`.
647
648 2016-01-27:
649 - Fixed `show` and `codebookEntry` methods for "datetime.item" class.
650
651 2016-01-24:
652 - Do not wrap HTML tables and list in HTML paragraphs in `format_html.CodebookEntry`.
653
654 2016-01-21:
655 - Correct spelling and case of vignette titles.
656
657 2016-01-16:
658 - Use "html_viewer" option instead of "show_html.output".
659
660 2016-01-04:
661 - Deleted last sentence in package description.
662 - Put back vignette for `ftable-matrix`.
663 - `show_html` can be used with arbitrary output functions, e.g. `rstudio::viewer`.
664
665 2016-01-03:
666 - Removed `UnZip` from package, which has been redundant for some time.
667 - Use `knitr::rmarkdown` instead of `knitr::knit` in vignettes.
668 - Added vignette for `ftable_matrix`.
669 - `show_html` can be used with arbitrary output functions, e.g. `rstudio::viewer`.
670
671 2016-01-02:
672 - Small vignette update.
673 - New maintainer address
674
675 2015-12-31:
676 - R-dependency should be >= 3.0, because this is needed for knitr vignettes.
677 - Some improvements of ANES vignette.
678 - Improvements for variable descriptions in data sets and importers,
679 including HTML formatting.
680 - Added explanation of `tolower` to ANES Vignette.
681 - New argument `margin` of `format_html` method functions,
682 which determines the positioning of the HTML tables. By default it centers the table horizontally.
683 - Export `format_html` cell standard styles.
684 - Renamed `html_style` into `css`, etc.
685 - Automatic HTML output in ANES vignette.
686 - Remove LaTeX/PDF Vignette
687 - Added documentation for `html()` and friends.
688 Implemented `show_html()` method function for HTML code.
689
690 2015-12-30:
691 - Make concatenation of html-elements safer
692
693 2015-12-29:
694 - Added documentation for `toLatex` method for "ftable_matrix" objects
695 - No longer make a fuss about duplicate model names in `combine_mtables`
696
697 2015-12-28:
698 - Added example for named model groups in `mtables`.
699 - Added documentation of `format_html.ftable_matrix`.
700 - Updated documentation of `mtable_format_latex`
701 - Create and use `Write` method function for `ftable_matrix` objects.
702 - Added documentation of `ftable_matrix` objects
703
704 2015-12-18:
705 - Added support for with model groups in `mtable`. `c.mtable` now creates
706 groups of models, if arguments are tagged.
707
708 2015-12-16:
709 - Fixed issues shown by R CMD check
710 - Adapt `format_html.ftable_matrix` to html-objects infrastructure.
711
712 2015-12-13:
713 - Enable automatic insertion of linebreaks into HTML code.
714 - Export methods for html objects etc.
715
716 2015-12-12:
717 - Adapted HTML formatting of 'codebook's to new HTML infrastructure.
718 - Added syntactic sugar to 'html()'. Corrected formatting of fixed-point numbers.
719 - Made formatting of value filters safer.
720
721 2015-12-07:
722 - Encapsulate fixed-point numbers into "html_group" objects
723 - Update version number
724
725 2015-12-06:
726 - Start object-oriented infrastructure for the creation of HTML code.
727
728 2015-11-13:
729 - Import 'str' and 'ls.str' from 'utils' package to prevent a NOTE in R CMD check
730
731 2015-11-09:
732 - Make `percentages()` a little more robust against empty cells in marginal tables.
733
734 2015-09-24:
735 - Fixed Latex output of data frames.
736
737 2015-09-13:
738 - Fix regressions caused by `rbind()` and `cbind()` methods for "ftable" objects.
739
740 2015-09-12:
741 - Added some new `relabel()` methods.
742
743 2015-09-06:
744 - Fixed treatment of value labels in HTML formatting of codebooks.
745
746 2015-09-03:
747 - Added basic HTML formatting of `ftable_matrix` objects. (LaTeX formatting was already implemented.)
748
749 2015-08-29:
750 - Fix CSS class of ftable formatted in HTML
751 - Implement `ftable_matrix` objects - objects composed from several `ftable`s.
752
753 2015-08-26:
754 - Added `percentages` function to easily create tables of percentages.
755
756 2015-08-18:
757 - Fix bug that presented Stata 9-10 files to be successfully imported.
758
759 2015-08-16:
760 - Fix that allows to import ANES 2008 data with the provided buggy SPSS script files.
761
762 2015-08-03:
763 - Allow specification of `show.baselevel=`, and `baselevel.sep=` as arguments of `mtable()`
764
765 2015-07-21:
766 - Make `write.mtable` more coherent.
767
768 2015-07-20:
769 - Eliminate buglino that causes knitr to gobble up stars (not those in the sky,
770 but those used to indicate levels of statistical significance)
771
772 2015-07-18:
773 - New `signif.symbols` argument to `mtable`, that allows to change
774 the "level of significance symbols"
775 - Implemented `[` operator for `mtable` results as well as
776 the `c` (concatenation) operator.
777
778 2015-07-15:
779 - New `gs.options=` argument to `mtable`, that allows to pass optional
780 arguments to getSummary.
781
782 2015-07-14:
783 - Added vignette about survey items (objects of class "item")
784
785 2015-07-13:
786 - Add basic documentation for 'summaryTemplate' generic function.
787 - Add documentation for 'dsView'.
788 - Fix codoc mismatches pointed out by R CMD check.
789 - 'spss.fixed.file' now checks whether there are undefined variables in 'varlab.file' etc.
790
791 2015-07-10:
792 - Correct `sourcename` default argument of `collect` methods.
793 - Get rid of duplicate aliases in documentation.
794 - FIX: `coef.tab` not `coef.table`
795 - Add documentation for `datetime.item` objects (merged from an earlier development branch)
796 - Add documentation for data set manipulation (`merge` etc.)
797 - Make `cases` more fussy about logical conditions.
798
799 2015-07-02:
800 - Provide HTML formatting of data frames.
801
802 2015-06-15:
803 - New option 'show.baselevel' for function 'mtable' that allows to decised whether the baseline category of
804 dummy variable shows up in the table.
805
806 2015-06-13:
807 - Scalars created by 'within' expression are now retained constant items in data.sets
808 - 'sourcename' argument of collect methods for data frames and data.sets now has a
809 coherent default.
810
811 2015-06-08:
812 - 'mtable_format_html' works again
813 - Slight reorganisation of 'mtable' and associated formatting functions.
814 - Nicer grouping of coefficients of multiple-equation models
815 - 'applyTemplate' now returns empty strings for undefined quantities.
816
817 2015-06-02:
818 - Moved 'toLatex' method for 'data.set' objects into different file. Added 'toLatex' method for data frames.
819
820 2015-06-01:
821 - Completely refactored 'mtable' - more flexible handling of models with varying numbers of equations;
822 some formatting is delayed and moved to the 'mtable_format' functions.
823
824 2015-05-31:
825 - Added toLatex-method for data.set objects.
826
827 2015-05-28:
828 - Added missing 'drop=FALSE' in format_html.codebookEntry
829 - 'codebookEntry' can now deal with factors that have no non-missing levels
830
831 2015-05-16:
832 - 2015-05-16: Added support for date-time "item" objects (from former 'codebooks' package)
833 - dsView, cbind, rbind, collect, and merge methods for "data.set" objects copied from former
834 'codebooks' package to 'memisc'.
835
836 2015-05-14:
837 - Fixed bugs introduced by rewrite of 'import-internal-spss-syntax.R'.
838 Dependency 'MicroDatosEs' should work okay now.
839
840 2015-05-12:
841 - Fixed a bug introduced by side-effects of manipulating the arguments of 'readfixed'.
842 - Make sure that codebook entries for items in external data sources are complete.
843 - Add dots to 'format_html.codebookEntry' formal arguments.
844 - Improved `toLatex` formatting of `ftable`s
845 - Set version number to 0.98.1
846
847 2015-05-11: Make memisc:::trimws work without changing locale
848 - Complete rewrite of major parts of 'import-internal-spss-syntax.R':
849 Handling of SPSS syntax files for fixed format data files is changed from a presumptious vectorising approach
850 to an old-school but more flexible and stable Turing approach.
851 - 'spss.fixed.file()' should work for a wider range of situations.
852
853 2015-05-10:
854 - Use endash in HTML format of codebooks, correct removal extra styling of variable names
855
856 2015-05-09:
857 - Remove hardcoded styling of variable names in codebook entries.
858 - Codebook support for numeric vectors and factors
859 - Fix console output of data.set objects
860
861 2015-04-29:
862 - Step up version number and date.
863 - Removed functions panel.errbars, Termplot, Simulate, and associated stuff (buckets etc.)
864
865 2015-04-28:
866 - Documented 'format_html' method for codebooks
867 - Added HTML formatting of codebooks.
868 - Bugfix in 'codebook-methods.R': specify sensible defauls for 'toprule' and 'midrule' in format,codebookEntry-method.
869 - Added dumentation for 'format_html' methods for "ftable" and "mtable" objects.
870 - Added documentation for 'format_html' function
871 - Documented 'wild.codes' function
872 - Fixed as.data.set,list-method, added documentation for as.data.set,list-method
873
874 2015-04-26:
875 - Changed vignette engine to 'rmarkdown' as this gives better output.
876 - Added html vignette 'ANES 1948'
877 - Fix html formatting of mtables
878 - Bugfix of format_html.ftable: Now digits after the dot are handled correctly.
879 - Some adjustments of HTML formatting of "mtables"
880 - Support for HTML formatting of "ftables"
881 - Added function 'wild.codes' to find, well, wild codes.
882
883 2015-04-20:
884 - Fix collect method of "data.set" objects, by providing "as.data.set" method for lists.
885
886 2015-04-09:
887 - Improvement of header formatting of mtables for LaTeX
888
889 2015-04-07:
890 - Shorter vignette for html output of mtable results.
891 - Update README.md
892 - Create README.md
893 - More modular code for HTML formatting
894 - Added knitr vignette for HTML output example
895 - Corrected NEWS.Rd
896 - Minor correction of format of ANES48 vignette
897
898 2015-04-06:
899 - Improved HTML output of 'mtable' results - alignment on decimal signs and straight borders.
900 - Updated documentation of 'mtable' results.
901
902 2015-04-05:
903 - New coefficient style - confidence intervals right of estimates
904 - Some cleanup in mtable; special formatting functions for mtable objects (needs testing)
905
906 2015-03-07:
907 - Renamed 'getSummary.expCoef' into 'getSummary_expCoef' to avoid R CMD check fussiness.
908
909 2015-02-14:
910 - Modified file structure somewhat and added some lines do clarify credit for code.
911 - Added documentation for 'as.character' method for 'codebook' objects.
912 - Implemented 'Write()' convenience function for 'descriptions' objects.
913
914 2015-02-13:
915 - Removed 'aggregate.formula' method as it conflicts with a method of the name that was included
916 into the 'base' R package more or less recenlty.
917 - Removed 'include' and 'uninclude' since it modifies (in a benign way though) the global namespace,
918 which is discouraged by recently changed CRAN policies.
919
920 2015-01-26:
921 - Added 'as.character' method for 'codebook' objects, to allow conveniently write the to files using 'writeLines'
922
923 2015-01-25:
924 - Explicitly export S3 method as required by package check by more recent R version
925 - Added github URL
926 - Listed packages that are 'enhanced' by supporting them for `mtable`
927
928 2014-12-14:
929 - Correct buglet in 'recode' method for numeric vectors
930
931 2014-11-04:
932 - Fixed silly bug introduced in recent update: Long variable names in SPSS "sav" files should work again now.
933
934 2014-10-11:
935 - added method for "merMod" objects to the getSummary() generic function. mtable() now
936 should be able (again) to handle estimation results produced by lmer() and glmer() from
937 package 'lme4'.
938 - recode() handles character vectors in a more convenient way: They are converted
939 into factors with sorted unique values (after recoding) as levels.
940
941 2014-09-08:
942 - 'getSummary.glm' now takes care of missing values in weights of glm objects.
943
944 2014-08-19:
945 - modified some code that Prof Ripley thinks looks 'suspicious'.
946
947 2014-06-24:
948 - Change of SPSS variable names to lower case is now optional (but still the default).
949
950 2014-03-10:
951 - Removed modification to getSummary.clm that slipped in from a development branch.
952
953 2013-12-06:
954 - fixes out-of-bound error and memory leak in 'pspp-portableStream-for-R.c'
955 reported by Prof. Ripley. Eliminated calls to non-exported functions from 'lattice'.
956 Marked all example code of 'Simulate' as 'dontrun' to save time during package checks.
957 Also did some cosmetic changes to the package vignette 'anes48'.
958
959 2013-09-19:
960 - fixes of some namespace import issues.
961
962 2013-07-28:
963 - fix of 'data.set()' and 'Table()' functions.
964 Thanks to Gabor Grothendiek and Jeremy Jackson
965
966 2013-03-20:
967 - getSummary method for "mer" objects was broken and now is fixed.
968
969 2013-02-10:
970 - getSummary methods for "ivreg", "tobit" (from package "AER"),
971 "hurdle", "zeroinfl" (from package "pscl"),
972 "betareg" (from package "betareg"),
973 "multinom" (from package "nnet"),
974 contributed by Achim Zeileis,
975 were included into the package, but had not been exported yet
976 from the package namespace.
977 This is now fixed.
978
979 2013-01-27:
980 - Minor improvement of 'codebook' output for external SPSS data sets.
981 - Fixed a bug in 'dumbswap.c' discovered while building a windows binary.
982
983 2013-01-26:
984 - Included getSummary methods
985 - for objects of classes "ivreg", "tobit" (from package "AER"),
986 "hurdle", "zeroinfl" (from package "pscl"),
987 "betareg" (from package "betareg"),
988 "multinom" (from package "nnet"),
989 contributed by Achim Zeileis
990 - for objects of classes "polr" (from package "MASS"),
991 "clm" (from package "ordinal"),
992 "simex" (from package "simex"),
993 contributed by Christopher N. Lawrence
994 - for objects of classes "coxph", "survreg" (from package "survival"),
995 "aftreg", "phreg", "weibreg" (from package "eha"),
996 contributed by Jason W. Morgan,
997 - for exponentiated coefficients in glm-models,
998 contributed by Dave Atkins.
999 - Made the 'spss.fixed.file' importer function more robust:
1000 - It works now, even if 'varlab.file', 'codes.file',
1001 or 'missval.file' arguments are missing. (This was broken by an earlier revision.)
1002 - It now handles value labels of character string variables correctly.
1003
1004 2013-01-04:
1005 - Updated contact email address. Corrected "initialize" method for "data.set" objects.
1006
1007 2012-02-14:
1008 - Replaced calls to .Internal(sample()) by calls to sample.int() and eliminated
1009 call to .Internal(int.unzip()). The package now depends on R >= 2.9.0
1010
1011 2012-01-25:
1012 - Fixed reading of value labels from SPSS system files - no garbage at the end of the labels.
1013
1014 2011-12-07:
1015 - Fixed "getSummary" and "getSummary.expcoef" S3-generic functions.
1016
1017 2011-11-06:
1018 - Added a 'rep' method for 'item.vector' objects.
1019 - Applied patch sent by Masahiro Hayashi <[email protected]> to fix bugs
1020 in 'vector' method of 'recode'.
1021
1022 2011-10-05:
1023 - Adapted the package to R 2.14.0 (by eliminating calls to 'require'
1024 in the '.onLoad' function)
1025 - Changed the methods for data frames, 'data.set' and 'importer' objects
1026 of the function 'sort' from S3 to S4
1027
1028 2011-08-26:
1029 - Fixed a bug in internal function 'compress.storage.mode.double' that caused
1030 it to create NA's where it should not.
1031 - Fixed a bug in the print method for items that caused it to report their length
1032 incorrectly
1033
1034 2011-08-15:
1035 - Made internal functions of 'spss.fixed.file' robuster against syntax errors
1036 in the spss-controls files (codes.file, labels.file, etc.)
1037
1038 2011-06-17:
1039 - Removed mkHelpDir() that has not worked for a while because of architectural
1040 changes in R.
1041 - Removed some unused variables from the C-code that caused warnings.
1042 - Corrected a bug in format.mtable() misusing the function character()
1043 and some other buglets reported by NOTE's in automatic runs by CRAN.
1044
1045 2011-05-29:
1046 - Applied patch sent by Christopher N. Lawrence, Ph.D. <[email protected]>:
1047 Added support to mtable() for clm and clmm ordinal models in the ordinal package.
1048 Updates getSummary to support mer objects as generated by recent versions of the lme4 package.
1049 Adds the Aldrich & Nelson pseudo-R2 (Aldrich and Nelson 1984)
1050 to mtable output for various categorical models.
1051
1052 2011-05-14:
1053
1054 - Fixed problems with SPSS system files that do not contain an 'info_flt64' record. This problem led to zeroes in the data section of the file being erroneously interpreted as *sysmis*.
1055 - Fixed 'show' and 'print' methods for 'data.set' objects - they no do fit the width set by options(width=...), without ugly line breaks.
1056 - Changed the default value of the 'compress.storage.modes' option for the
1057 subset and bracket methods o 'importer' objects to FALSE, which is much
1058 more safer.
1059
1060 2010-07-16:
1061 - fixed a bug in 'Simulate' that caused it to fail in certain situations
1062 in R version >= 2.11.
1063
1064 2010-04-12:
1065 - 'toLatex(mtable(<something>),useDcolumn=FALSE)' should now produce useable
1066 LaTeX output ($'s are added to the table entries).
1067
1068 2010-04-09:
1069 - 'By' works now with 'genTable' and 'aggregate.formula'. It gains a 'data.frame'
1070 method, which better cooperates with calls to 'lm'-like functions. Their results
1071 get a 'data' component containing the subset of the data frame that was given
1072 as 'data' argument to the call of 'By'.
1073
1074 2010-04-08:
1075 - fixed bug in 'cases'. It works now with target expressions even with 'within'.
1076 - 'write.mtable' now handles a 'forLaTeX=TRUE' option in a more convenient way.
1077 - 'mtable' now handles objects of classes "polr" and "simex", thanks to a contribution
1078 from Christopher N. Lawrence (Texas A&M International University)
1079 - support for 'mtable' output for "glm" objects with exponentiated coefficients
1080 and prelininary support for "lmer" object added, thanks to a contribution from
1081 Dave Atkins (Unversity of Washington). Also the coef.styles are changed to be
1082 more convenient.
1083
1084 2010-04-07:
1085 - fixed bug in C-level function 'read_sysfile_subset' that caused spurious errors
1086 while importing SPSS 'system' files with long strings.
1087
1088 2010-03-18:
1089 - patch to trimws to make it locale-neutral
1090
1091 2010-03-11:
1092 - fixed bugs in mtable and format.mtable. Short 'summary.stats'
1093 arguments or 'summary.stats=FALSE' should work now.
1094
1095 2010-03-06:
1096 - fixed bug in genTable/percentage: total counts disappeared if
1097 a factor level had the same name as the name given to the total count
1098 - changed the default value of the 'digits' option of the matrix method
1099 of the toLatex generic to the more sensible getOption("digits")
1100 - the matrix method of the toLatex generic gains new optional arguments
1101 'show.vars', 'show.xvar', and 'show.yvar', which determine whether
1102 the name of the row and/or the column variable should be shown if
1103 the matrix is a 2-dimensional table.
1104
1105 2010-03-02:
1106 - fixed minor bug in 'cases' function
1107
1108 2009-11-11:
1109 - correction bug in .unLoad function.
1110
1111 2009-10-14:
1112 - removed 'extended' arguments from calls to 'regexpr' and 'sub' etc. (for compatibility
1113 with R 2.11)
1114
1115 2009-08-19:
1116 - corrected documentation for mtable (\usepackage instead of usepackage)
1117 - completed documentation for contrasts generic
1118 - fixed bug in the internals for 'spss.portable.file':
1119 'SPSS Por' to ascii and 'SPSS Por' to integer translation tables
1120 were one item too short.
1121
1122 2009-06-02:
1123 - as.factor methods for item vectors adapted to new factor function
1124 in R 2.10.0
1125 - Fixed bug in sample.data.frame and sample.data.set methods:
1126 Samples were drawn only from the first m observations, where m is
1127 the number of variables in the data frame/data set.