A data analysis and visualization blog focused on economics, urban development, real estate markets, and socioeconomic trends in Brazil and beyond.
This repository hosts the source code for restateinsight.com, a personal blog featuring data-driven analysis and visualizations. Content covers a range of topics including:
- Economic Analysis - Labor markets, unemployment trends, inflation, and macroeconomic indicators
- Urban Analytics - Public transportation, city development, and demographic patterns
- Real Estate Markets - Housing affordability, price dynamics, and market trends
- Data Visualization - Tutorials and examples using ggplot2, R, and other tools
- Brazilian Insights - In-depth analysis of Brazil's economic and social landscape
Built with Quarto, the site leverages R for data analysis and visualization, with extensive use of ggplot2, tidyverse, and spatial analysis packages. All posts are written in Quarto Markdown and rendered to static HTML.
Requires Quarto and R (with the tidyverse and the packages used by individual posts).
quarto preview # local dev server on port 4200
quarto render # full static build → _site/
quarto publish netlify # deploy to productionPost computations are cached under _freeze/, so a render reuses prior results instead of re-running every post. To force a single post to re-execute, delete only its subdirectory under _freeze/.
posts/- Blog post source files organized by category (brazil-in-charts/,general-posts/,shiny-apps/,tutorial-ggplot2/,tutorial-tidyverse/)static/- Images, data files, and the chart gallery registry (static/gallery/gallery.json)_freeze/- Cached computation results for faster rendering_site/- Generated static website outputR/- Helper scripts (thumbnail generation, gallery build, figure export)
See GALLERY.md for the chart-gallery workflow and CLAUDE.md for the full contributor guide.