Case study
Economic and market dashboards built in R and Quarto, with shared data preparation and charting tools, plus interactive examples on this site.
I built sixteen economic and market dashboards in R and Quarto, covering inflation, jobs, rates, housing, energy, GDP, and markets. This case study describes that dashboard work and the shared tooling behind it.
The original documents paired explanations with R code that fetched and charted the series. The interactive examples on this Next.js site use a different publishing workflow: a separate data-refresh script produces snapshots, and the site build renders those saved observations. The charts show their dates so readers can judge freshness.
Public economic data is free, deep, and almost unusable raw. The series that matter are scattered across FRED, BLS, BEA, and market feeds under opaque symbol codes, and the interesting question is usually a transformation (year over year, a rolling average, a state-by-state comparison) rather than the raw level.
A manually updated chart is easy to leave behind when new data arrives. I needed a repeatable way to retrieve observations, apply consistent transformations, and show readers which period they were seeing.
The Quarto documents used R chunks to retrieve series through tidyquant's FRED interface, reshape them with tidyverse and timetk, and render Plotly charts with hover labels. I used reactable and gt where a table made comparisons easier. That render-time workflow belongs to the R project; rebuilding this static site alone does not fetch new observations.
The part that matters is that I stopped copy-pasting chart code between pages. The ticker universe, the cleaning functions, the plotting wrapper, the recession shading, and the palette live in one R package of my own that all sixteen pages call into, so a change to the house style lands everywhere at once. It is version-pinned and reused by a second property, which is what took it from a personal convenience to shared infrastructure.
One of the dashboards, ported to run on this static site: US unemployment on real FRED data back to 1976, with NBER recessions shaded. Last refreshed from FRED on 2026-09-10.
See the full live dashboard for the yield curve, inflation, and the fed funds rate too.
The parts worth pointing at
Where the engineering decisions actually mattered.
The Economy page contains interactive FRED snapshots with sources and dates. I can also walk through the data preparation and the original R workflow.