sgplot 0.4.0
CRAN release: 2025-05-27
use_sgplot()
gains apalette_type
argument to set default palette type for geoms. The default value is “sg” to use Scottish Government colour palettes. To use the Social Security Scotland palette type, for example, use:use_sgplot(palette_type = "sss")
(#34).The
default_colour
argument ofuse_sgplot()
is deprecated in favour of thepalette_type
argument (#34).
sgplot 0.3.0
Add Social Security Scotland colours (
sss_colour_values
) and palettes (sss_colour_palettes
).Fix bug in
use_sgplot()
when passing arguments totheme_sg()
.
sgplot 0.2.1
Fix issue where
scale_
functions didn’t work without the package being loaded (#26).Add link to
theme_sg()
inuse_sgplot()
help file.
sgplot 0.2.0
Reduce
base_line_size
intheme_sg()
.Remove default dark blue outline from
geom_col
andgeom_bar
when usinguse_sgplot()
.
sgplot 0.1.0
First package release.
Add functions to create accessible plots using
ggplot2
.Add pkgdown site (https://ScotGovAnalysis.github.io/sgplot) including cookbook.