R/aaa-colors.r

#' voteogram manual scale colors
#'
#' Manual color scales fill and color scale values (in the event you need to use them)
#' outisde the main plotting functions.
#'
#' @name voteogram-colors
NULL

#' @name vote_carto_fill
#' @rdname voteogram-colors
vote_carto_fill <- c(
  `D-yes`="#003366",
  `D-no`="#869fc4",
  `D-not voting`="#e1ecf8",
  `D-present`="#000055",
  `ID-yes`="#e59b16",
  `ID-no`="#eeba58",
  `ID-not voting`="#f9f2df",
  `ID-present`="#335500",
  `R-yes`="#aa0000",
  `R-no`="#d68585",
  `R-not voting`="#f8e9e9",
  `R-present`="#550000",
  `Vacant`="#2b2b2b"
)

#' @name vote_carto_color
#' @rdname voteogram-colors
vote_carto_color <- c(
  `D-yes`="#003366",
  `D-no`="#869fc4",
  `D-not voting`="#e1ecf8",
  `D-present`="#000055",
  `ID-yes`="#e59b16",
  `ID-no`="#eeba58",
  `ID-not voting`="#f9f2df",
  `ID-present`="#335500",
  `R-yes`="#aa0000",
  `R-no`="#d68585",
  `R-not voting`="#f8e9e9",
  `R-present`="#550000",
  `Vacant`="#2b2b2b"
)

Try the voteogram package in your browser

Any scripts or data that you put into this service are public.

voteogram documentation built on March 31, 2023, 10:51 p.m.