
Christophe Dervieux
Posit PBC
November 19, 2026
Friends in official statistics:
“Quarto? I haven’t seen it used much in official statistics.”
Friends in official statistics:
“Quarto? I haven’t seen it used much in official statistics.”
Every uRos since 2017
has a talk about publishing statistics
Recurring publications, automated Your institute’s look Less manual work
Programs read from 2014 to 2026: 532 items, about 35 publishing talks. Method, code and data: analysis/ in the slides repository.
The key figure is wrong, and the release is tomorrow.
One is still wrong.
Fix it once
…is an open-source, scientific, and technical publishing system
Artwork from “Hello, Quarto” keynote by Julia Lowndes and Mine Çetinkaya-Rundel, presented at RStudio Conference 2022. Illustrated by Allison Horst.




bulletin.html, August 2026
Key figure: 514.7 million nights
Chart and caption come from the same R code
Nobody typed 514.7
Shortened for the slide. Full source in cderv/uros2026-quarto-example.
```{r}
library(eurostat)
library(ggplot2)
nights <- get_eurostat(
"tour_occ_nim",
filters = list(
geo = "EU27_2020",
unit = "NR",
nace_r2 = "I551-I553",
c_resid = "TOTAL"
)
)
nights <- na.omit(nights)
latest <- nights[which.max(nights$time), ]
```
Nights spent in tourist accommodation, EU, by month:
```{r}
ggplot(nights, aes(time, values)) + geom_line()
```A .qmd file is plain text. R code in code cells, your text in Markdown between them.
```{r}
#| echo: false
library(eurostat)
library(ggplot2)
nights <- get_eurostat(
"tour_occ_nim",
filters = list(
geo = "EU27_2020",
unit = "NR",
nace_r2 = "I551-I553",
c_resid = "TOTAL"
)
)
nights <- na.omit(nights)
latest <- nights[which.max(nights$time), ]
```
Nights spent in tourist accommodation, EU, by month:
```{r}
#| label: fig-trend
#| fig-cap: "Nights spent at tourist accommodation, EU"
ggplot(nights, aes(time, values)) + geom_line()
``````{r}
#| echo: false
library(eurostat)
library(ggplot2)
nights <- get_eurostat(
"tour_occ_nim",
filters = list(
geo = "EU27_2020",
unit = "NR",
nace_r2 = "I551-I553",
c_resid = "TOTAL"
)
)
nights <- na.omit(nights)
latest <- nights[which.max(nights$time), ]
```
The EU recorded `{r} round(latest$values / 1e6, 1)` million nights.
```{r}
#| label: fig-trend
#| fig-cap: "Nights spent at tourist accommodation, EU"
ggplot(nights, aes(time, values)) + geom_line()
```Or one button in
Positron,
RStudio,
VS Code

Positron

RStudio





Shortened for the slide. Colors and the bold EU row are in the full source.

bulletin.html

bulletin.pdf
_brand.yml_brand.yml


PDF/A is for the archive. PDF/UA is tagged for screen readers. Quarto checks both with veraPDF, and the web page with axe-core.
The key figure is wrong.
Country of residence: FOR = guests from abroad only
The key figure is wrong.
Country of residence: FOR = guests from abroad only → TOTAL = all guests
quarto render bulletin.qmd

bulletin.html

bulletin.pdf

bulletin.docx
All six show 514.7
France · Norway · United Kingdom · OECD

These slides are Quarto too.
R Markdown
R code and text, to HTML, PDF, Word
Quarto
Same idea, more languages and formats
Quarto 1
The version you install
Quarto 2
Faster, and writing together in the browser
Slides
Example bulletin

Follow along at https://cderv.github.io/uros2026-quarto-intro/ and https://quarto.org