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

Created on 13 Feb 2019  Â·  2Comments  Â·  Source: rstudio/gt

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.

[2] Intermediate [2] Medium [2] Medium ★ Enhancement

Most helpful comment

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!

All 2 comments

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.

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vincentarelbundock picture vincentarelbundock  Â·  4Comments

steveputman picture steveputman  Â·  3Comments

rich-iannone picture rich-iannone  Â·  4Comments

mine-cetinkaya-rundel picture mine-cetinkaya-rundel  Â·  4Comments

jenniferp96 picture jenniferp96  Â·  4Comments