theme_nycc: New York City Council Theme

View source: R/theme_nycc.R

theme_nyccR Documentation

New York City Council Theme

Description

This is a ggplot2 theme that uses Council fonts and style guidelines to produce plots.

Usage

theme_nycc(..., print = FALSE, facet = FALSE)

Arguments

...

Further arguments passed to theme_bw().

print

Boolean. Changes fonts to Times New Roman to match printed documents produced by committees.

Examples

## Not run: 
library(ggplot2)
library(councildown)
data.frame(x = rnorm(20), y = rnorm(20), z = c("a", "b")) %>%
  ggplot(aes(x, y, color = z)) +
 geom_point() +
 labs(title = "Test",
      subtitle = "Test",
      caption = "Test",
      color = "Legend",
      x = "Test a",
      y = "Test b") +
 facet_wrap(~z) +
 theme_nycc(facet=TRUE) +
 scale_color_nycc()

## End(Not run)

NewYorkCityCouncil/councildown documentation built on Oct. 24, 2024, 8:39 p.m.