Package: apyramid 0.1.3

apyramid: Visualize Population Pyramids Aggregated by Age

Provides a quick method for visualizing non-aggregated line-list or aggregated census data stratified by age and one or two categorical variables (e.g. gender and health status) with any number of values. It returns a 'ggplot' object, allowing the user to further customize the output. This package is part of the 'R4Epis' project <https://r4epis.netlify.app/>.

Authors:Zhian N. Kamvar [aut, cre], Alex Spina [ctb]

apyramid_0.1.3.tar.gz
apyramid_0.1.3.zip(r-4.7)apyramid_0.1.3.zip(r-4.6)apyramid_0.1.3.zip(r-4.5)
apyramid_0.1.3.tgz(r-4.6-any)apyramid_0.1.3.tgz(r-4.5-any)
apyramid_0.1.3.tar.gz(r-4.7-any)apyramid_0.1.3.tar.gz(r-4.6-any)
apyramid_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
apyramid/json (API)
NEWS

# Install 'apyramid' in R:
install.packages('apyramid', repos = c('https://zkamvar.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/r4epi/apyramid/issues

Datasets:
  • us_2008 - US Census data for population, age, and gender
  • us_2018 - US Census data for population, age, and gender
  • us_gen_2008 - US Census data for population, age, and gender
  • us_gen_2018 - US Census data for population, age, and gender
  • us_ins_2008 - US Census data for population, age, and gender
  • us_ins_2018 - US Census data for population, age, and gender

On CRAN:

Conda:

6.19 score 20 stars 1 packages 52 scripts 927 downloads 1 exports 26 dependencies

Last updated from:cb1450315c. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK159
source / vignettesOK190
linux-release-x86_64OK143
macos-release-arm64OK116
macos-oldrel-arm64OK107
windows-develOK117
windows-releaseOK95
windows-oldrelOK99
wasm-releaseOK110

Exports:age_pyramid

Dependencies:clicpp11dplyrfarverforcatsgenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigR6RColorBrewerrlangS7scalestibbletidyselectutf8vctrsviridisLitewithr

Introduction to {apyramid}

Rendered fromintro.Rmdusingknitr::rmarkdownon May 22 2026.

Last update: 2020-01-13
Started: 2020-01-13

Readme and manuals

Help Manual

Help pageTopics
Plot a population pyramid (age-sex) from a dataframe.age_pyramid
US Census data for population, age, and genderus_2008 us_2018 us_gen_2008 us_gen_2018 us_ins_2008 us_ins_2018