How to Create Your Own Table Theme with the gt Package
HTML-код
- Опубликовано: 21 авг 2024
- Learn to make your own table theme using the gt package in R. For more, see rfortherestofu...
If you want to receive emails to help you on your R journey, sign up for the R for the Rest of Us newsletter: rfortherestofu...
awesome thanks!
wow this is excellent !!!!!!!!!! thank you
This is one of the best explanations I have seen on gt() and using functions to automate the generation of tables.
Thank you for your kind words, Alberto 😊 really glad that this video helped you
Nice tutorial. Thanks
You're welcome. Watch out for more videos that we want to release in the near futue ☺
Data dependent part aka every second row could use the dataframe from gt_table. In that case it will be universal
Thanks. Could you please make a tutorial for the pdf output? Many settings do not work for pdf file.
Can you give some examples of what doesn't work for you with PDF output?
@@rfortherestofus
2:50: column_labels.background.color = "skyblue", does not work for pdf file but works for HTML;
3:54: locations = cells_title() does not work for title in pdf file, but locations = cells_body() works.
Also, sometimes it is not easy to control the table placement, and the width and height so the table fit the page size, or keep the table breaking into two pages. Many thanks.
@@CanDoSo_org Thanks. I've never experienced these issues. Just out of curiosity, have you posted on GitHub about any of them?
Great explanation, thanks! Would you have any advice on how to improve the image quality when exporting the table and copying it into a word file?
Unfortunately, this isn't something I've done much with.