Forecasting Mortality, Fertility, Migration and Population Data
Overview
Functions for demographic analysis including lifetable calculations; Lee-Carter modelling; functional data analysis of mortality rates, fertility rates, net migration numbers; and stochastic population forecasting.
- Updated HMDHFDplus dependency to v2.08+
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-04-10
Show 2 earlier changesHide 2 earlier changes
- ERROR13 OK, 1 ERROR2026-04-09
- OK14 OK2026-03-10
Documentation
- Help pages
- 37 (1 internal)includes a package overview page
- Examples that run
- 76%26 run in a plain check · 8 never run
- Exported functions with examples
- 90%
- Documented parameters
- 88%
- Return-value docs
- 95%
- Help pages citing references
- 19%
Downloads
Repository
- PRs merged (all time)
- 88%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/robjhyndman/demography on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2025-10-06 · The repository has a site deploy workflow
Show all practicesHide 2 practices
Dependencies
Installing demography adds 147 packages (84 with compiled code, 101 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Maintainer since 1.0 (2010)
Show 3 peopleHide 3 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.0.1Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 2.02023-02-08 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.222019-04-22 · diff ↗ ·
removed 19 exports
fitted.fdm, fitted.lca, forecast.fdm, forecast.lca, forecast.fdmpr, isfe.demogdata, mean.demogdata, median.demogdata, plot.demogdata, plot.errorfdm, plot.lifetable, residuals.fdm, residuals.lca, simulate.fmforecast, simulate.fmforecast2, models.fmforecast, models.fmforecast2, update.fmforecast, update.fmforecast2 - 1.212019-01-18 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.202017-04-25 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.192017-02-16 · diff ↗
Show 27 earlier eventsHide 27 earlier events
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- 1.182014-09-15 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.172014-02-01 · diff ↗
- 1.16
- 1.152013-08-21 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 1.142012-10-26 · diff ↗
- 1.132012-08-06 · diff ↗
- 1.12
- RR 2.15.0 released · 2012-03-30
- 1.112012-01-31 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 1.102011-10-18 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 1.09-12011-02-17 · diff ↗
- 1.082011-02-15 · diff ↗
- 1.072010-11-04 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 1.062010-10-14 · diff ↗
- 1.05
- 1.04
- 1.032010-08-24 · diff ↗
- 1.022010-08-14 · diff ↗
- 1.02010-08-12
- RR 2.11.0 released · 2010-04-22
Package metadata
- First published
- 2010-08-12
- Total releases
- 24 / 16 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.4
- Bundled data
- 2.7 MB / 4 files
- Download size
- 2.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("demography")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.