Package: afcharts 0.4.0
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.0.tar.gz
afcharts_0.4.0.tar.gz(r-4.5-noble)afcharts_0.4.0.tar.gz(r-4.4-noble)
afcharts_0.4.0.tgz(r-4.4-emscripten)afcharts_0.4.0.tgz(r-4.3-emscripten)
afcharts.pdf |afcharts.html✨
afcharts/json (API)
NEWS
# Install 'afcharts' in R: |
install.packages('afcharts', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/best-practice-and-impact/afcharts/issues
- af_colour_palettes - Analysis Function colour palettes
- af_colour_values - Analysis Function colour names and hex codes
Last updated 15 days agofrom:a918864831. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 07 2024 |
R-4.5-linux | OK | Nov 07 2024 |
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 Nov 07 2024.Last update: 2024-11-06
Started: 2024-11-06
Colours
Rendered fromcolours.Rmd
usingknitr::rmarkdown
on Nov 07 2024.Last update: 2024-11-06
Started: 2024-11-06
Cookbook
Rendered fromcookbook.Rmd
usingknitr::rmarkdown
on Nov 07 2024.Last update: 2024-11-06
Started: 2024-11-06
Saving charts
Rendered fromsaving.Rmd
usingknitr::rmarkdown
on Nov 07 2024.Last update: 2024-11-06
Started: 2024-11-06
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 |