~hrbrmstr/ggchicklet

a06ed3ef737ec98c15dfa7ded145eff7f48b31cb — boB Rudis 4 years ago ea75042 + b2cb817
README
4 files changed, 9 insertions(+), 16 deletions(-)

M R/geom-chicklet.R
M README.md
D man/GeomChicklet.Rd
M man/geom_chicklet.Rd
M R/geom-chicklet.R => R/geom-chicklet.R +1 -3
@@ 85,9 85,7 @@ draw_key_rrect <- function(data, params, size) { # nocov start
  )
} # nocov end

#' ggchicklet-ggplot2-ggproto
#' @format NULL
#' @usage NULL
#' @rdname geom_chicklet
#' @export
GeomChicklet <- ggproto( # nocov start
  "GeomChicklet", GeomRrect,

M README.md => README.md +2 -3
@@ 29,7 29,6 @@ segmented column charts (i.e. “chicklets”).
  - `debates2019`: June 2019 U.S. Democratic Debate Candidate/Topic
    Times
  - `geom_chicklet`: Chicklet (rounded segmented column) charts
  - `GeomChicklet`: ggchicklet-ggplot2-ggproto

The following functions are implemented:



@@ 118,8 117,8 @@ debates2019 %>%

| Lang | \# Files | (%) | LoC |  (%) | Blank lines |  (%) | \# Lines |  (%) |
| :--- | -------: | --: | --: | ---: | ----------: | ---: | -------: | ---: |
| R    |        8 | 0.8 | 119 | 0.52 |          27 | 0.36 |      107 | 0.56 |
| Rmd  |        2 | 0.2 | 109 | 0.48 |          47 | 0.64 |       85 | 0.44 |
| R    |        8 | 0.8 | 119 | 0.52 |          27 | 0.36 |      105 | 0.55 |
| Rmd  |        2 | 0.2 | 109 | 0.48 |          47 | 0.64 |       85 | 0.45 |

## Code of Conduct


D man/GeomChicklet.Rd => man/GeomChicklet.Rd +0 -10
@@ 1,10 0,0 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geom-chicklet.R
\docType{data}
\name{GeomChicklet}
\alias{GeomChicklet}
\title{ggchicklet-ggplot2-ggproto}
\description{
ggchicklet-ggplot2-ggproto
}
\keyword{datasets}

M man/geom_chicklet.Rd => man/geom_chicklet.Rd +6 -0
@@ 1,13 1,18 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/geom-chicklet.R
\docType{data}
\name{geom_chicklet}
\alias{geom_chicklet}
\alias{GeomChicklet}
\title{Chicklet (rounded segmented column) charts}
\format{An object of class \code{GeomChicklet} (inherits from \code{GeomRrect}, \code{Geom}, \code{ggproto}, \code{gg}) of length 7.}
\usage{
geom_chicklet(mapping = NULL, data = NULL,
  position = ggplot2::position_stack(reverse = TRUE),
  radius = grid::unit(3, "pt"), ..., width = NULL, na.rm = FALSE,
  show.legend = NA, inherit.aes = TRUE)

GeomChicklet
}
\arguments{
\item{mapping}{Set of aesthetic mappings created by \code{\link[=aes]{aes()}} or


@@ 117,3 122,4 @@ ggplot(debates2019) +
  theme(panel.grid.major.y = element_blank()) +
  theme(legend.position = "bottom")
}
\keyword{datasets}