Closed adamrobinson361 closed 7 months ago
Is there a defined DfE style guide? Best I could find on the intranet was this document from 2016.
can't see your link @cwthom (i'm not in the office), but will dig up the style guide that was used to get the dept colours for this gist. is your question focused on plot structure and style in particular? i figure whatever we produce is going to be opinionated because of the inconsistency across the dept (e.g. consider the plots in the stats releases here and here).
@matt-dray - Would be interested to see the doc you've got. I've definitely come accross approved colour lists in the past - not so sure about chart styles. Nevertheless it would be good if we could define one that we consistently use and encourage others to do so.
we did some stuff with govstyle for our Shiny app, but we didn't incorporate it efficiently. I think it's worth bringing HoP office in on this or the statistical policies working group (they're meeting tomorrow). The first step would be to decide if we (still?) want a DfE style that differs to GDS?
Background
govstyle is an R package created by GDS that formats ggplots to standard styles as predefined to GDS.
It is no longer maintained nor does it match the DfE style exactly. It would be good to add this into dfeR with correct styling so it can be more widely adopted. Alongside the markdown theme it would allow us to easily and consistently format our publications and internal reports.
Steps to take