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.5)apyramid_0.1.3.zip(r-4.4)apyramid_0.1.3.zip(r-4.3)
apyramid_0.1.3.tgz(r-4.4-any)apyramid_0.1.3.tgz(r-4.3-any)
apyramid_0.1.3.tar.gz(r-4.5-noble)apyramid_0.1.3.tar.gz(r-4.4-noble)
apyramid_0.1.3.tgz(r-4.4-emscripten)apyramid_0.1.3.tgz(r-4.3-emscripten)
apyramid.pdf |apyramid.html
apyramid/json (API)
NEWS

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

Peer review:

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:

6.18 score 20 stars 1 packages 51 scripts 965 downloads 1 exports 32 dependencies

Last updated 2 years agofrom:cb1450315c. Checks:7 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKJan 04 2025
R-4.5-winOKJan 04 2025
R-4.5-linuxOKJan 04 2025
R-4.4-winOKJan 04 2025
R-4.4-macOKJan 04 2025
R-4.3-winOKJan 04 2025
R-4.3-macOKJan 04 2025

Exports:age_pyramid

Dependencies:clicolorspacedplyrfansifarverforcatsgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbletidyselectutf8vctrsviridisLitewithr

Introduction to {apyramid}

Rendered fromintro.Rmdusingknitr::rmarkdownon Jan 04 2025.

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