Panic!
In The Toolshed

matt-dray.github.io/government-toolshed

Matt Dray, June 2023

tl;dr

Share your tools

An experience

Guidance from the Analysis Function called releasing statistics in spreadsheets.

remotes::install_github("co-analysis/a11ytables")

a11ytables::create_a11ytable(
  tab_titles,
  sheet_types,
  sheet_titles,
  blank_cells,
  sources,
  tables
) |>
  a11ytables::generate_workbook() |>
  openxlsx::saveWorkbook()

A screenshot of the documentation website for the R package called a11ytables. It has several sections of information about the purpose of the package, the license, the authors, and more.

Success!

  • It did what I wanted it to do
  • It’s in use across government
  • It’s been improved by feedback

Panic!

  • Where’s the maintainer?
  • Should it move to another repo?
  • Should {a11ytables2} exist?

Reflection

1. Think sustainably

  • Build modular things
  • Write good documentation
  • Plan for your loss

2. Centralise

  • Make it discrete
  • Make it easy to find
  • Pool your tools

It’s not just me

Gov Design Principles

  • Do less
  • Iterate, then iterate again
  • Make things open, it makes things better

Tech Code of Practice

  • Be open and use open source
  • Share, reuse and collaborate

A metaphor

A section of the README file from the Awesome List for Official Statistics Software on GitHub.

An example CRAN Task View webpage, which lists R packages grouped by some specialism. This example is for official and survey statistics.

tl;dr

  1. Share your tools
  2. Sustainabilise, centralise, advertise
  3. How best can we surface and share tools?
  4. Don’t panic!

Credits