rap-output

Generates R code for accessible spreadsheets, GOV.UK charts, and R Markdown reports using Analysis Function standards.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/ivyleavedtoadflax/RapSkill --skill rap-output
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rap-output
Source: https://github.com/ivyleavedtoadflax/RapSkill/tree/main/plugins/rap/skills/rap-output
Command: npx skills add https://github.com/ivyleavedtoadflax/RapSkill --skill rap-output

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps analysts generate accessible statistical outputs like spreadsheets, charts, and reports that comply with UK Government Analysis Function standards.

Core Features & Use Cases

  • Accessible Spreadsheets: Creates ODS/XLSX tables using {a11ytables} with proper headers and metadata.
  • GOV.UK Charts: Provides a ggplot2 theme and colour palette adhering to GOV.UK design guidelines.
  • Publication Reports: Generates an R Markdown template structured for official statistics.
  • Use Case: An analyst needs to produce a monthly statistical report. They can use this Skill to quickly scaffold the R Markdown file, create a standard chart theme for their visualizations, and set up a script to generate an accessible data table.

Quick Start

Use the rap-output skill to generate code for creating accessible spreadsheet outputs.

Frequently Asked Questions about rap-output

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create accessible statistical spreadsheets that comply with UK Government Analysis Function standards?

To create accessible statistical spreadsheets, this Skill generates R code using the `{a11ytables}` and `openxlsx` packages to produce ODS and XLSX files with proper headers and metadata required for UK Government Analysis Function compliance.

How do I generate GOV.UK-styled charts using ggplot2?

You can generate GOV.UK-styled charts by applying the custom ggplot2 theme and colour palette provided by this Skill, which ensures your statistical data visualizations adhere strictly to GOV.UK design guidelines.

Do I need specific R packages to produce R Markdown reports for official statistics?

Yes, producing R Markdown reports for official statistics requires R along with specific packages including `rmarkdown`, `knitr`, and `a11ytables` to render the structured publication templates.

What's the best way to scaffold a monthly statistical report in R?

The best way to scaffold a monthly statistical report in R is using this Skill to generate an R Markdown template structured for official statistics, alongside scripts for standard chart themes and accessible data tables.

Can I use this Skill to automate administrative and analytical statistical workflows?

Yes, you can use this Skill to automate administrative and analytical workflows by generating R code that scaffolds accessible spreadsheets, GOV.UK charts, and R Markdown publication reports.

Are there limitations when generating accessible outputs for non-UK Government statistical publications?

This Skill is specifically tailored to UK Government Analysis Function standards for data visualization and publication, meaning its templates and chart themes may not align with non-UK Government statistical formatting requirements.