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...

Комментарии • 13

  • @matthieugold
    @matthieugold 2 месяца назад

    awesome thanks!

  • @fms6306
    @fms6306 Месяц назад

    wow this is excellent !!!!!!!!!! thank you

  • @AlbertoFCabreraCasillas
    @AlbertoFCabreraCasillas 11 месяцев назад +6

    This is one of the best explanations I have seen on gt() and using functions to automate the generation of tables.

    • @rappa753
      @rappa753 11 месяцев назад

      Thank you for your kind words, Alberto 😊 really glad that this video helped you

  • @shadyamigo
    @shadyamigo Год назад +4

    Nice tutorial. Thanks

    • @rfortherestofus
      @rfortherestofus  10 месяцев назад

      You're welcome. Watch out for more videos that we want to release in the near futue ☺

  • @andreipyko7640
    @andreipyko7640 5 месяцев назад

    Data dependent part aka every second row could use the dataframe from gt_table. In that case it will be universal

  • @CanDoSo_org
    @CanDoSo_org 4 месяца назад

    Thanks. Could you please make a tutorial for the pdf output? Many settings do not work for pdf file.

    • @rfortherestofus
      @rfortherestofus  4 месяца назад +1

      Can you give some examples of what doesn't work for you with PDF output?

    • @CanDoSo_org
      @CanDoSo_org 4 месяца назад

      @@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.

    • @rfortherestofus
      @rfortherestofus  4 месяца назад

      @@CanDoSo_org Thanks. I've never experienced these issues. Just out of curiosity, have you posted on GitHub about any of them?

  • @annaroth3616
    @annaroth3616 7 месяцев назад

    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?

    • @rfortherestofus
      @rfortherestofus  7 месяцев назад

      Unfortunately, this isn't something I've done much with.