Git Product home page Git Product logo

demo-co-quarto-report's Introduction

DemoCo Customer Churn Quarto Report

This Quarto report summarizes customer churn for DemoCo, an example company.

Build the reports

You can build the reports yourself on Posit Cloud.

  1. Render the HTML report: Open churn_report.qmd and click on the drop-down arrow next to the Render button. Click Render democo-html.
  2. Render the PDF report: Open churn_report.qmd and click on the drop-down arrow next to the Render button. Click Render democo-pdf.

Change the product type

churn_report.qmd includes a parameter, product, that controls which product type the report displays. There are three product types in the data: Standard, Premium, Professional.

To change the product type:

In the YAML header of churn_report.qmd, update the value field of the product parameter to "Premium" or "Professional", then click Render.


params: product: label: "Product type" value: Professional input: select choices: [Standard, Premium, Professional]

Publish to Posit Connect

We've published the HTML report to Connect. The report is set to run once a week. You can publish the report to your own Connect account using the Publish button in the RStudio IDE, found in the upper-right corner of the Editor pane. Click > Posit Connect > Publish document with source code > Add the URL of your Connect server > Publish.

See this guide for publishing Quarto documents for more details.

Themes

Both the HTML and PDF reports use a custom Quarto format. You can find the custom format in the _extensions directory.

Customize the reports

You can also use this project as a template for your own reports.

Here are some ways to modify the reports:

  • Change the color scheme of the plots by changing the color palette object, defined in the first chunk of churn_report.qmd.
  • Read in different data in churn_report.qmd, and create your own plots.
  • Modify the theme by editing the Quarto extension located in _extensions/democo. For more information about custom Quarto HTML themes, see this guide.
    • Change logo-with-slogan.png to change the logo image used in the HTML report.
    • Change logo.png to change the logo image used in the PDF report.
  • Update the PDF extension color scheme in demopdf.tex. light defines the side panel color and dark defines the title and heading font color

demo-co-quarto-report's People

Contributors

skaltman avatar

Stargazers

 avatar

Watchers

Garrett Grolemund avatar Tareef Kawaf avatar  avatar  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.