gt icon indicating copy to clipboard operation
gt copied to clipboard

Have an way to set the location of summary rows in group (top or bottom)

Open dougreid15 opened this issue 5 years ago • 2 comments

First of all, this package is incredible. It's making things a lot easier for tabulations on the job and the ease of use made it very easy to learn.

For the summary_rows function (also great, unbelievable actually), I think it would be nice to have to set of summary rows appear at the top (as an option). So this means a set of summary rows then the regular rows in the group. The argument could be called position maybe. Also, the positioning of the values in the summary rows doesn't line up exactly with the values in the data rows.

Again, really awesome package! One of my faves for sure.

dougreid15 avatar Feb 13 '19 05:02 dougreid15

Hey, thanks for filing this issue!

I like this recommendation quite a bit. It is actually something I've been meaning to put into this package (but didn't really think there was much demand for yet).

Take a look at some of the tables in the Manual of Tabular Presentation by the Bureau of the Census (https://books.google.ca/books?id=VzS2AAAAIAAJ&printsec=frontcover&source=gbs_ge_summary_r&cad=0#v=onepage&q&f=false). They recommend the use of summary rows at the top of what we call the row group (and they have called a block). Might be an antiquated set of examples but I think the flexibility to allow summary rows at the top of a row group would be valuable.

rich-iannone avatar Feb 19 '19 06:02 rich-iannone

Everything you're talking about is music to my ears! Thank you so much for the thoughtful reply and I'm really looking forward to this feature (and, of course, everything else).

Can't stress it enough how awesome this package is. I was using it the other day and was able to make some seriously beautiful tables. There's really nothing else like this!

dougreid15 avatar Feb 19 '19 21:02 dougreid15