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 50 scripts 838 downloads 1 exports 32 dependencies

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

TargetResultDate
Doc / VignettesOKDec 05 2024
R-4.5-winOKDec 05 2024
R-4.5-linuxOKDec 05 2024
R-4.4-winOKDec 05 2024
R-4.4-macOKDec 05 2024
R-4.3-winOKDec 05 2024
R-4.3-macOKDec 05 2024

Exports:age_pyramid

Dependencies:clicolorspacedplyrfansifarverforcatsgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbletidyselectutf8vctrsviridisLitewithr

Introduction to {apyramid}

Rendered fromintro.Rmdusingknitr::rmarkdownon Dec 05 2024.

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