/zueritheme

zueritheme: Statistik Stadt Zurich ggplot2 theme

Primary LanguageRBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

zueritheme

The goal of zueritheme is to provide a ggplot theme that conforms to the corporate identity/design of the city of Zurich.

Installation

You can install the development version of zueritheme from GitHub with:

# install.packages("devtools")
devtools::install_github("StatistikStadtZuerich/zueritheme")

Example

This is an example which shows you how to set the ssz_theme as your general ggplot_theme:

library(zueritheme)
library(ggplot2)
theme_set(ssz_theme())

Alternatively, you can add the theme to a ggplot directly:

library(zueritheme)
library(ggplot2)
ggplot(...) +
	... +
	ssz_theme(grid_lines = "x")