How to Create Your Own Table Theme with the gt Package

Поділитися
Вставка
  • Опубліковано 14 лис 2024

КОМЕНТАРІ • 13

  • @AlbertoFCabreraCasillas
    @AlbertoFCabreraCasillas Рік тому +6

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

    • @rappa753
      @rappa753 Рік тому

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

  • @fms6306
    @fms6306 3 місяці тому

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

  • @matthieugold
    @matthieugold 5 місяців тому

    awesome thanks!

  • @shadyamigo
    @shadyamigo Рік тому +4

    Nice tutorial. Thanks

    • @rfortherestofus
      @rfortherestofus  Рік тому

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

  • @andreipyko7640
    @andreipyko7640 7 місяців тому

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

  • @annaroth3616
    @annaroth3616 10 місяців тому

    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  10 місяців тому

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

  • @CanDoSo_org
    @CanDoSo_org 7 місяців тому

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

    • @rfortherestofus
      @rfortherestofus  7 місяців тому +1

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

    • @CanDoSo_org
      @CanDoSo_org 7 місяців тому

      @@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  7 місяців тому

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