Conversation
|
I'm wondering if this could be a part of |
|
I fully agree with that! I was also feeling some friction / misfit with the existing API. It wasn't too much work to figure out how to extend Could it be an alternative to have a docs page showing how to use |
|
You mean combining table functions with the basic infrastructure of Cells? I guess I haven't thought about that kind of augmentation yet, I always thought either or |
|
Sorry for not being very clear there.
I guess it would be possible to add a Regarding the docs suggestion, I was thinking about extending the Infrastructure section of the docs with an example bringing together the examples from the subsections on Table, Cell, and CellStyle. Reading through those convinced me that I could set up the table with row gaps as I'd like, but to get there I still consulted the source code for (For context, I have struggled to find a Julia package that allows me to format tables and write to |
|
Ah if you want to write formatted tables to docx more freely, it might make sense to work directly with WriteDocx.jl and add some convenience functions on top of that. SummaryTables only supports that one style because that's what we need and what's common for publications. But yes a docs section on making your own table function and using all the building blocks would be great as well |
Hi,
Thank you for this excellent package!
I often have to work with data that has subgroups nested in several groups. In tables I typically represent that with row groups (I'm taking this term from gt's "nomenclature" https://gt.rstudio.com/).
I've written a simple function to take care of this and was wondering if having such a feature as part of SummaryTables.jl would generally be of interest.
This draft is missing tests and support for a lot of keywords, but I'm happy to add those.
I personally don't like leaving the
subgroupcolumn header in, so I would callrename(df, :subgroup => "")before, but I've omitted that here.