Package: apyramid 0.1.3

Zhian N. Kamvar

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://r4epi.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.17 score 20 stars 1 packages 49 scripts 890 downloads 1 exports 32 dependencies

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

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-winOKNov 08 2024
R-4.5-linuxOKNov 08 2024
R-4.4-winOKNov 08 2024
R-4.4-macOKNov 08 2024
R-4.3-winOKNov 08 2024
R-4.3-macOKNov 08 2024

Exports:age_pyramid

Dependencies:clicolorspacedplyrfansifarverforcatsgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalestibbletidyselectutf8vctrsviridisLitewithr

Introduction to {apyramid}

Rendered fromintro.Rmdusingknitr::rmarkdownon Nov 08 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