Closed tilltnet closed 3 years ago
For the sake of consistency (#3) the options ~will be renamed to~ are now named:
Printing of tbl_svy
is currently not limiting to the specified amount of lines!
The behavior described above is now the standard printing behavior for egor objects.
I have pushed some changes that allow to customize the behavior of
print.egor()
via global options.egor.print.rows.active.level
andegor.print.rows.inactive.level
allow to adjust the rows printed for active and inactive data levels. This allows to shrink inactive data levels and expand the active one.egor.print.switch.active.level.to.top
allows to switch on/ off the reordering of the data levels, so that the active data-level appears on top. This behavior was copied over fromtidygraph
, but I have been confused by that quite a few times.The active marker now also appears in green color, to make it more visible.
I am planing to make the following behavior the new default: the data-levels always appear in the same order and the active level prints 5 rows, the inactive only 2 rows. I am not entirely sure if this behavior has any unintended side effects or if anyone has good reasons not to make this the default.
Looking forward to any kind of feedback on this!
Below are some screenshots of the new behavior.