Package: ggpyramid
Title: Population Pyramids with 'ggplot2'
Version: 0.1.0
Authors@R: 
    person("Matan", "Hakim", , "matanhakim@gmail.com", role = c("aut", "cre", "cph"),
           comment = c(ORCID = "0009-0002-9372-8975"))
Description: Build population pyramids, the back-to-back bar charts of a
    population by age group and sex, as layers of a 'ggplot2' plot. A
    position adjustment mirrors one side and stacks subgroups within each
    side, so bars, labels and lines from any layer land on the correct side
    while the plot can still be faceted, themed and extended as usual. A
    coordinate system labels both sides with absolute values, gives them one
    shared scale, and places the age axis on either side or in a gap at the
    centre. Further layers count individual records or sum aggregated values,
    show proportions, label the bars, and draw a second population as a
    stepped outline for comparison.
License: MIT + file LICENSE
Depends: R (>= 4.1.0)
Encoding: UTF-8
Language: en-GB
RoxygenNote: 7.3.3
Imports: cli, ggplot2 (>= 4.0.0), rlang, scales, stats, utils, vctrs
Suggests: knitr, rmarkdown, testthat (>= 3.0.0), vdiffr
VignetteBuilder: knitr
Config/testthat/edition: 3
URL: https://github.com/matanhakim/ggpyramid,
        https://matanhakim.github.io/ggpyramid/
BugReports: https://github.com/matanhakim/ggpyramid/issues
LazyData: true
NeedsCompilation: no
Packaged: 2026-10-26 13:27:22 UTC; matan
Author: Matan Hakim [aut, cre, cph] (ORCID:
    <https://orcid.org/0009-0002-9372-8975>)
Maintainer: Matan Hakim <matanhakim@gmail.com>
Repository: CRAN
Date/Publication: 2026-11-10 18:00:02 UTC
