Git Product home page Git Product logo

quartoreport_se's Introduction

QmdReport.

Example of a Quarto Report with dynamically created tables

Presentation given on this Aug 11 2022: https://youtu.be/Uay6X65Ukvk. The version given in that talk is Release v2.0.

What is this doing?

  • Dynamic tables and figures where the table number, table caption, number of tables is all dynamically created based on the data set
  • Table cross-refs that just work across formats
  • Figures that look good across formats and it "just works"---with the caveat that I am using {flextable} for Word/html and {kableExtra} for PDF.
  • A custom title page for PDF.
  • Link to source code, post issue, edit source code right on the HTML for each page.
  • Link to download the PDF and Word. This is auto-generated. None of this is manual.
  • HTML that looks good across different sized displays (big screen and phone screen)

How about?

  • {gt} is great. Why not use that for tables? It was not playing nice with Quarto+PDF and broke all table numbering in subsequent tables (flextable or kabelExtra or markdown). I reported the bug and I think the {gt} developers have fixed for the next update.

Can't {bookdown} do this?

Kind of. I love {bookdown} and I have written multiple on-line books with it but

  • there were a lot of hacks and tricks needed for cross-refs and it would tend to break when you needed multiple formats (PDF, HTML and Word).
  • Lack of solid cross-ref working across formats is a deal-breaker for government reports.
  • The ability to use "@" to find your cross-refs that you can do with Visual mode in RStudio... I can't live without that now.
  • Quarto still has some hacks, but many many fewer. A lot of stuff seems to just work.

quartoreport_se's People

Contributors

eeholmes avatar jules32 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.