Skip to content

Grattan Chart Library / macrodashboard is a self-updating Shiny app that enables Grattan staff to generate key charts in a range of formats

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

grattan/macrodashboard

Repository files navigation

macrodashboard

R build status

This repo contains builds a Shiny dashboard of graphs relevant to Grattan Institute’s work on macroeconomic policy.

This is an unfinished work in progress.

The live dashboard can be found at: https://grattan.shinyapps.io/macrodashboard/

Data

All data for the dashboard comes via the macro_dashboard_data repo, available here. That repo contains functions to download the latest version of each dataset, do some minimal tidying, and then write files to its ‘data’ directory. The functions in macro_dashboard_data execute on a schedule using GitHub Actions, so that the data stays up-to-date.

Structure

The ‘R’ folder of this repo contains:

  • files beginning with viz_. These take a dataframe as input and return a ggplot2 plot. There is one function per file.
  • dash_app.R. This contains the server-side code for the Shiny app.
  • dash_ui.R. This contains the UI code for the Shiny app.
  • globals.R. This file defines global variables, to prevent warnings regarding functions that use non-standard evaluation.
  • load_data.R This file contains a function (load_data()) that gets data from the macro_data_dashboard repo.

About

Grattan Chart Library / macrodashboard is a self-updating Shiny app that enables Grattan staff to generate key charts in a range of formats

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published