A proof-of-concept dashboard made with Quarto, GGiraph and deployed through Github Actions.
I started making this project inspired by the great tutorial on dashboarding in R by Rami Krispin.
Developing the project, I've introduced several changes, to get rhis dashboard closer to the toolset that I'm used to work with in R.
This are the main changes that I've introduced:
- R packages are managed with RENV,
- The visualization are made with GGiraph, to avoid the commercial and governamental restrictions of highcharter, and to port ggplot's great API to the web.
- The layout, and the task to transform markdown code and R text into a webpage is managed by Quarto.
- The web page is deployed directly from Github Action into Github Pages, without committing code back into the repo.
If you want to run this code locally:
- Install Quarto CLI on your computer
- Open
air-quality.Rproj
with Rstudio. - Run
renv::restore()
at the R console. - Run
quarto preview
at the command line terminal (shell).
This dashboard fetches daily the Open Data on Air Pollution from the Open Data Portal of the City of Milano, I would like to thank them for providing well formatted and easy to reach Open Data.
On the other side, Air pollution is a huge issue in the area, and in my opinion, the initiatives on public transport and bicycle paths by the City of Milano, Regione Lombardia, and other the public administration entities are well below the level that would be needed to solve or even ease this issue.
This work comes with no warranty and is LICENSED with under the CC4-BY-SA 4.0 license. Find the full text of the license here.