Package: afcharts 0.4.1
afcharts: Produce Charts Following UK Government Analysis Function Guidance
Colour palettes and a 'ggplot2' theme to follow the UK Government Analysis Function best practice guidance for producing data visualisations, available at <https://analysisfunction.civilservice.gov.uk/policy-store/data-visualisation-charts/>. Includes continuous and discrete colour and fill scales, as well as a 'ggplot2' theme.
Authors:
afcharts_0.4.1.tar.gz
afcharts_0.4.1.zip(r-4.5)afcharts_0.4.1.zip(r-4.4)afcharts_0.4.1.zip(r-4.3)
afcharts_0.4.1.tgz(r-4.5-any)afcharts_0.4.1.tgz(r-4.4-any)afcharts_0.4.1.tgz(r-4.3-any)
afcharts_0.4.1.tar.gz(r-4.5-noble)afcharts_0.4.1.tar.gz(r-4.4-noble)
afcharts_0.4.1.tgz(r-4.4-emscripten)afcharts_0.4.1.tgz(r-4.3-emscripten)
afcharts.pdf |afcharts.html✨
afcharts/json (API)
NEWS
# Install 'afcharts' in R: |
install.packages('afcharts', repos = c('https://best-practice-and-impact.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/best-practice-and-impact/afcharts/issues
Pkgdown site:https://best-practice-and-impact.github.io
- af_colour_palettes - Analysis Function colour palettes
- af_colour_values - Analysis Function colour names and hex codes
Last updated 1 months agofrom:50e31e88bc. Checks:5 OK, 3 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Feb 12 2025 |
R-4.5-win | NOTE | Feb 12 2025 |
R-4.5-mac | NOTE | Feb 12 2025 |
R-4.5-linux | NOTE | Feb 12 2025 |
R-4.4-win | OK | Feb 12 2025 |
R-4.4-mac | OK | Feb 12 2025 |
R-4.3-win | OK | Feb 12 2025 |
R-4.3-mac | OK | Feb 12 2025 |
Exports:mm_to_inchsave_govukscale_colour_continuous_afscale_colour_discrete_afscale_fill_continuous_afscale_fill_discrete_aftheme_afuse_afcharts
Dependencies:clicolorspacedplyrfansifarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbletidyselectutf8vctrsviridisLitewithr
Accessibility
Rendered fromaccessibility.Rmd
usingknitr::rmarkdown
on Feb 12 2025.Last update: 2024-10-30
Started: 2023-02-28
Colours
Rendered fromcolours.Rmd
usingknitr::rmarkdown
on Feb 12 2025.Last update: 2024-11-22
Started: 2023-02-22
Cookbook
Rendered fromcookbook.Rmd
usingknitr::rmarkdown
on Feb 12 2025.Last update: 2025-01-07
Started: 2023-05-11
Saving charts
Rendered fromsaving.Rmd
usingknitr::rmarkdown
on Feb 12 2025.Last update: 2025-01-07
Started: 2023-05-11
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Analysis Function colour palettes | af_colour_palettes |
Analysis Function colour names and hex codes | af_colour_values |
Convert millimetres to inches | mm_to_inch |
Save a plot at the correct dimensions for publishing on GOVUK | save_govuk |
Continuous colour scales for Analysis Function plots | scale_colour_continuous_af |
Discrete colour scales for Analysis Function plots | scale_colour_discrete_af |
Continuous colour fill scales for Analysis Function plots | scale_fill_continuous_af |
Discrete colour fill scales for Analysis Function plots | scale_fill_discrete_af |
Analysis Function theme for ggplot2 charts. | theme_af |
Use afcharts defaults. | use_afcharts |