Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's up with Quarto? #334

Open
hancush opened this issue Jun 20, 2023 · 11 comments
Open

What's up with Quarto? #334

hancush opened this issue Jun 20, 2023 · 11 comments
Assignees
Labels

Comments

@hancush
Copy link
Member

hancush commented Jun 20, 2023

Background

We've transitioned from Python to R and R Markdown for data analysis, however it looks like there's a new player on the block that supports Python, R, and Observable (JavaScript) out of the box: https://quarto.org/

Proposal

Is it desirable to have a single development environment for all of our data analysis languages? I propose we trial Quarto to find out.

Deliverables

A data analysis project completed in Quarto. The project should, if possible, include multiple languages, and both analysis and visualization.

Timeline

Couple of days.

@hancush hancush added the R&D label Jun 20, 2023
@fgregg fgregg reopened this Jul 31, 2024
@fgregg
Copy link
Member

fgregg commented Jul 31, 2024

@hancush has been impressed with this on a recent project.

for a recent project i worked on, i needed to produce power point slides, and rMarkdown did a really bad job. it's a pretty common need of our clients to need slides and to have those slides be ppt compatible.

i asked on social media if other tools did a better job, and I got one suggestion for Quarto. so, I think that it would be worth trying out. https://quarto.org/docs/presentations/powerpoint.html

@hancush
Copy link
Member Author

hancush commented Aug 13, 2024

I'd be really interested to try Quarto for documentation...... perhaps for how-to!

@hancush
Copy link
Member Author

hancush commented Aug 13, 2024

(If not how-to, the City projects are intended to be handed off eventually, and I think they'd make great candidates for documenting!)

@hancush
Copy link
Member Author

hancush commented Aug 29, 2024

I made some docs for the Metro scrapers with Quarto: Metro-Records/scrapers-lametro#25

@antidipyramid
Copy link
Contributor

@hancush Have we tried Quarto for any static site generation yet?

@hancush
Copy link
Member Author

hancush commented Sep 6, 2024

The Metro docs are a static site: https://metro-records.github.io/scrapers-lametro/

@fgregg
Copy link
Member

fgregg commented Sep 6, 2024

do we have a view of whether they can replace rMarkdown?

@hancush
Copy link
Member Author

hancush commented Sep 6, 2024

@fgregg
Copy link
Member

fgregg commented Sep 6, 2024

do you have an opinion of whether we should?

@hancush
Copy link
Member Author

hancush commented Sep 17, 2024

I'm inclined to follow their response in the FAQ, which is that there's no need to switch if we like R Markdown. This feels especially reasonable if we are just writing a report that has some R and maybe some Python scripting inline and is compiled into a static document.

With that said, Quarto provides a better DX (including much faster builds – the R universe is heavy AF!) for websites and likely interactive outputs, too, because it has native support for Observable as well as widgets for other visualization tools like Leaflet.

I've not used R Shiny or R's Leaflet plug-in before, but I doubt it feels as ergonomic as Quarto, which is closer to static site development than report generation.

If it's important to use the same toolkit for making static reports and documentation sites and interactive reports, then we should switch from R Markdown because Quarto makes it so much easier to make whatever output you want. Those feel like pretty different use cases, though, so it might be reasonable to have different tools for them.

@antidipyramid
Copy link
Contributor

We like Quarto-- next step: make a formal proposal to adopt it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants