{
  "_id": "6a3116ca3efcd9bda435a74a",
  "Package": "demography",
  "Version": "2.0.1.9000",
  "Title": "Forecasting Mortality, Fertility, Migration and Population Data",
  "Description": "Functions for demographic analysis including lifetable\ncalculations; Lee-Carter modelling; functional data analysis of\nmortality rates, fertility rates, net migration numbers; and\nstochastic population forecasting.",
  "LazyData": "yes",
  "ByteCompile": "TRUE",
  "Authors@R": "c(\nperson(\"Rob\", \"Hyndman\", email = \"Rob.Hyndman@monash.edu\", role = c(\"aut\", \"cre\", \"cph\"), comment = c(ORCID = \"0000-0002-2140-5352\")),\nperson(\"Heather\", \"Booth\", role = \"ctb\", comment = c(ORCID = \"0000-0002-8356-0534\")),\nperson(\"Leonie\", \"Tickle\", role = \"ctb\", comment = c(ORCID = \"0000-0002-6612-2401\")),\nperson(\"John\", \"Maindonald\", role = \"ctb\"),\nperson(\"Simon\", \"Wood\", role = \"ctb\"),\nperson(\"R Core Team\", role = \"ctb\")\n)",
  "URL": "https://pkg.robjhyndman.com/demography/,\nhttps://github.com/robjhyndman/demography",
  "BugReports": "https://github.com/robjhyndman/demography/issues",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libxml2-dev\nlibssl-dev libx11-dev",
  "Repository": "https://robjhyndman.r-universe.dev",
  "Date/Publication": "2025-10-06 07:55:04 UTC",
  "RemoteUrl": "https://github.com/robjhyndman/demography",
  "RemoteRef": "HEAD",
  "RemoteSha": "688551fc29756cb546ecf9ead4924afa3453e072",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-16 09:20:51 UTC",
    "User": "root"
  },
  "Author": "Rob Hyndman [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-2140-5352>),\nHeather Booth [ctb] (ORCID: <https://orcid.org/0000-0002-8356-0534>),\nLeonie Tickle [ctb] (ORCID: <https://orcid.org/0000-0002-6612-2401>),\nJohn Maindonald [ctb],\nSimon Wood [ctb],\nR Core Team [ctb]",
  "Maintainer": "Rob Hyndman <Rob.Hyndman@monash.edu>",
  "MD5sum": "80461492c88dbdb5d8e9e220ef1d9755",
  "_user": "robjhyndman",
  "_type": "src",
  "_file": "demography_2.0.1.9000.tar.gz",
  "_fileid": "44e6de7476cc67c840eef9f83adfbade9ef8f03635e4d14760da8db20eb389ac",
  "_filesize": 3092904,
  "_sha256": "44e6de7476cc67c840eef9f83adfbade9ef8f03635e4d14760da8db20eb389ac",
  "_created": "2026-06-16T09:20:51.000Z",
  "_published": "2026-06-16T09:26:34.046Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81623378549,
      "time": 236,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7662601486"
    },
    {
      "job": 81623378532,
      "time": 285,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662620424"
    },
    {
      "job": 81623378529,
      "time": 150,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7662568309"
    },
    {
      "job": 81623378550,
      "time": 189,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662583089"
    },
    {
      "job": 81622605073,
      "time": 240,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662507235"
    },
    {
      "job": 81623378581,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662568186"
    },
    {
      "job": 81623378535,
      "time": 179,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7662580031"
    },
    {
      "job": 81623378560,
      "time": 162,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7662574238"
    },
    {
      "job": 81623378562,
      "time": 191,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7662585775"
    }
  ],
  "_buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27607326666",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/robjhyndman/demography",
  "_commit": {
    "id": "688551fc29756cb546ecf9ead4924afa3453e072",
    "author": "Rob J Hyndman <robjhyndman@gmail.com>",
    "committer": "Rob J Hyndman <robjhyndman@gmail.com>",
    "message": "Increment version number to 2.0.1.9000\n",
    "time": 1759737304
  },
  "_maintainer": {
    "name": "Rob Hyndman",
    "email": "rob.hyndman@monash.edu",
    "login": "robjhyndman",
    "bluesky": "@robjhyndman.com",
    "orcid": "0000-0002-2140-5352",
    "description": "Professor of Statistics at Monash University, Australia",
    "uuid": 127518
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4",
      "role": "Depends"
    },
    {
      "package": "forecast",
      "version": ">= 8.5",
      "role": "Depends"
    },
    {
      "package": "ftsa",
      "version": ">= 4.8",
      "role": "Imports"
    },
    {
      "package": "rainbow",
      "role": "Imports"
    },
    {
      "package": "cobs",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "role": "Imports"
    },
    {
      "package": "strucchange",
      "role": "Imports"
    },
    {
      "package": "HMDHFDplus",
      "version": ">= 2.0.8",
      "role": "Imports"
    }
  ],
  "_owner": "robjhyndman",
  "_selfowned": true,
  "_usedby": 7,
  "_updates": [
    {
      "week": "2025-40",
      "n": 6
    },
    {
      "week": "2025-41",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v2.0.1",
      "date": "2025-10-05"
    }
  ],
  "_topics": [
    "actuarial",
    "demography",
    "forecasting"
  ],
  "_stars": 78,
  "_contributors": [
    {
      "user": "robjhyndman",
      "count": 107,
      "uuid": 127518
    },
    {
      "user": "finyang",
      "count": 11,
      "uuid": 32216334
    },
    {
      "user": "mitchelloharawild",
      "count": 5,
      "uuid": 16127127
    },
    {
      "user": "earowang",
      "count": 2,
      "uuid": 2456216
    },
    {
      "user": "jenspiontkowski",
      "count": 2,
      "uuid": 18219493
    },
    {
      "user": "timriffe",
      "count": 1,
      "uuid": 904603
    }
  ],
  "_userbio": {
    "uuid": 127518,
    "type": "user",
    "name": "Rob J Hyndman",
    "followers": 3100,
    "description": "Professor of Statistics at Monash University, Australia"
  },
  "_downloads": {
    "count": 5195,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/demography"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/robjhyndman/demography",
  "_pkgdown": "https://pkg.robjhyndman.com/demography/",
  "_searchresults": 319,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/demography.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/robjhyndman/demography",
  "_realowner": "robjhyndman",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2010-08-12"
    },
    {
      "version": "1.02",
      "date": "2010-08-14"
    },
    {
      "version": "1.03",
      "date": "2010-08-24"
    },
    {
      "version": "1.04",
      "date": "2010-09-22"
    },
    {
      "version": "1.05",
      "date": "2010-09-30"
    },
    {
      "version": "1.06",
      "date": "2010-10-14"
    },
    {
      "version": "1.07",
      "date": "2010-11-04"
    },
    {
      "version": "1.08",
      "date": "2011-02-15"
    },
    {
      "version": "1.09-1",
      "date": "2011-02-17"
    },
    {
      "version": "1.10",
      "date": "2011-10-18"
    },
    {
      "version": "1.11",
      "date": "2012-01-31"
    },
    {
      "version": "1.12",
      "date": "2012-04-24"
    },
    {
      "version": "1.13",
      "date": "2012-08-06"
    },
    {
      "version": "1.14",
      "date": "2012-10-26"
    },
    {
      "version": "1.15",
      "date": "2013-08-21"
    },
    {
      "version": "1.16",
      "date": "2013-12-17"
    },
    {
      "version": "1.17",
      "date": "2014-02-01"
    },
    {
      "version": "1.18",
      "date": "2014-09-15"
    },
    {
      "version": "1.19",
      "date": "2017-02-16"
    },
    {
      "version": "1.20",
      "date": "2017-04-25"
    },
    {
      "version": "1.21",
      "date": "2019-01-18"
    },
    {
      "version": "1.22",
      "date": "2019-04-22"
    },
    {
      "version": "2.0",
      "date": "2023-02-08"
    },
    {
      "version": "2.0.1",
      "date": "2025-10-06"
    }
  ],
  "_exports": [
    "bms",
    "cm.spline",
    "cm.splinefun",
    "coherentfdm",
    "combine.demogdata",
    "compare.demogdata",
    "demogdata",
    "e0",
    "extract.ages",
    "extract.years",
    "fdm",
    "flife.expectancy",
    "hmd.e0",
    "hmd.mx",
    "hmd.pop",
    "isfe",
    "lca",
    "life.expectancy",
    "lifetable",
    "models",
    "netmigration",
    "pop.sim",
    "read.demogdata",
    "set.upperage",
    "sex.ratio",
    "smooth.demogdata",
    "tfr"
  ],
  "_datasets": [
    {
      "name": "aus.fert",
      "title": "Australian fertility data",
      "object": "ausfert",
      "class": [
        "demogdata"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "fr.mort",
      "title": "French mortality data",
      "object": "france",
      "class": [
        "demogdata"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "fr.sm",
      "title": "French mortality data",
      "object": "frsm",
      "class": [
        "demogdata"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "as.data.frame.demogdata",
      "title": "Coerce a demogdata object to a data.frame object",
      "topics": [
        "as.data.frame.demogdata"
      ]
    },
    {
      "page": "ausfert",
      "title": "Australian fertility data",
      "topics": [
        "aus.fert"
      ]
    },
    {
      "page": "cm.spline",
      "title": "Monotonic interpolating splines",
      "topics": [
        "cm.spline",
        "cm.splinefun",
        "monotonic"
      ]
    },
    {
      "page": "coherentfdm",
      "title": "Coherent functional demographic model for grouped data",
      "topics": [
        "coherentfdm"
      ]
    },
    {
      "page": "combine.demogdata",
      "title": "Combine two demogdata objects into one demogdata object",
      "topics": [
        "combine.demogdata"
      ]
    },
    {
      "page": "compare.demogdata",
      "title": "Evaluation of demographic forecast accuracy",
      "topics": [
        "compare.demogdata"
      ]
    },
    {
      "page": "demogdata",
      "title": "Create demogdata object from raw data matrices",
      "topics": [
        "demogdata"
      ]
    },
    {
      "page": "extract.ages",
      "title": "Extract some ages from a demogdata object",
      "topics": [
        "extract.ages"
      ]
    },
    {
      "page": "extract.years",
      "title": "Extract some years from a demogdata object",
      "topics": [
        "extract.years"
      ]
    },
    {
      "page": "fdm",
      "title": "Functional demographic model",
      "topics": [
        "fdm"
      ]
    },
    {
      "page": "forecast.fdm",
      "title": "Forecast functional demographic model.",
      "topics": [
        "forecast.fdm"
      ]
    },
    {
      "page": "forecast.fdmpr",
      "title": "Forecast coherent functional demographic model.",
      "topics": [
        "forecast.fdmpr"
      ]
    },
    {
      "page": "forecast.lca",
      "title": "Forecast demogdata data using Lee-Carter method.",
      "topics": [
        "forecast.lca"
      ]
    },
    {
      "page": "fr.mort",
      "title": "French mortality data",
      "topics": [
        "fr.mort",
        "fr.sm"
      ]
    },
    {
      "page": "hmd",
      "title": "Read data from HMD and construct a mortality demogdata object",
      "topics": [
        "hmd",
        "hmd.e0",
        "hmd.mx",
        "hmd.pop"
      ]
    },
    {
      "page": "isfe",
      "title": "Integrated Squared Forecast Error for models of various orders",
      "topics": [
        "isfe",
        "isfe.demogdata"
      ]
    },
    {
      "page": "lca",
      "title": "Model mortality or fertility data using Lee-Carter approach",
      "topics": [
        "bms",
        "lca"
      ]
    },
    {
      "page": "life.expectancy",
      "title": "Estimate life expectancy from mortality rates",
      "topics": [
        "e0",
        "flife.expectancy",
        "life.expectancy"
      ]
    },
    {
      "page": "lifetable",
      "title": "Construct lifetables from mortality rates",
      "topics": [
        "lifetable"
      ]
    },
    {
      "page": "mean.demogdata",
      "title": "Mean and median functions for data of class demogdata",
      "topics": [
        "mean.demogdata",
        "median.demogdata"
      ]
    },
    {
      "page": "models",
      "title": "Show model information for the forecast coefficients in FDM models.",
      "topics": [
        "models",
        "models.fmforecast",
        "models.fmforecast2"
      ]
    },
    {
      "page": "migration",
      "title": "Calculate net migration from mortality and fertility data",
      "topics": [
        "netmigration"
      ]
    },
    {
      "page": "plot.demogdata",
      "title": "Plot age-specific demographic functions",
      "topics": [
        "lines.demogdata",
        "plot.demogdata",
        "points.demogdata"
      ]
    },
    {
      "page": "plot.errorfdm",
      "title": "Plot differences between actuals and estimates from fitted demographic model",
      "topics": [
        "plot.errorfdm"
      ]
    },
    {
      "page": "plot.fmforecast",
      "title": "Plot forecasts from a functional demographic modell",
      "topics": [
        "plot.fmforecast",
        "plot.lca"
      ]
    },
    {
      "page": "plot.lifetable",
      "title": "Plot life expectancy from lifetable",
      "topics": [
        "lines.lifetable",
        "plot.lifetable"
      ]
    },
    {
      "page": "pop.sim",
      "title": "Population simulation",
      "topics": [
        "pop.sim"
      ]
    },
    {
      "page": "read.demogdata",
      "title": "Read demographic data and construct demogdata object",
      "topics": [
        "read.demogdata"
      ]
    },
    {
      "page": "residuals.fdm",
      "title": "Compute residuals and fitted values from functional demographic model or Lee-Carter model",
      "topics": [
        "fitted.fdm",
        "fitted.lca",
        "residuals.fdm",
        "residuals.lca"
      ]
    },
    {
      "page": "set.upperage",
      "title": "Combine the upperages of a demogdata object.",
      "topics": [
        "set.upperage"
      ]
    },
    {
      "page": "sex.ratio",
      "title": "Compute sex ratios from mortality rates",
      "topics": [
        "sex.ratio"
      ]
    },
    {
      "page": "simulate.fmforecast",
      "title": "Simulate future sample paths from functional demographic model forecasts.",
      "topics": [
        "simulate.fmforecast",
        "simulate.fmforecast2"
      ]
    },
    {
      "page": "smooth.demogdata",
      "title": "Create smooth demogdata functions",
      "topics": [
        "smooth.demogdata"
      ]
    },
    {
      "page": "summary.fdm",
      "title": "Summary for functional demographic model or Lee-Carter model",
      "topics": [
        "summary.fdm",
        "summary.lca"
      ]
    },
    {
      "page": "tfr",
      "title": "Compute total fertility rate from fertility rates",
      "topics": [
        "tfr"
      ]
    },
    {
      "page": "update",
      "title": "Updating functional demographic models and coherent functional demographic models.",
      "topics": [
        "update",
        "update.fmforecast",
        "update.fmforecast2"
      ]
    }
  ],
  "_readme": "https://github.com/robjhyndman/demography/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "ash",
    "askpass",
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "bitops",
    "boot",
    "bslib",
    "cachem",
    "checkmate",
    "class",
    "cli",
    "clipr",
    "cluster",
    "cobs",
    "colorspace",
    "cpp11",
    "crayon",
    "curl",
    "cvar",
    "data.table",
    "deSolve",
    "digest",
    "dplyr",
    "e1071",
    "ecp",
    "evaluate",
    "evgam",
    "farver",
    "fastICA",
    "fastmap",
    "fBasics",
    "fda",
    "fdapace",
    "fds",
    "fGarch",
    "FNN",
    "fontawesome",
    "forecast",
    "foreign",
    "Formula",
    "fracdiff",
    "fs",
    "ftsa",
    "gbutils",
    "generics",
    "geometry",
    "ggplot2",
    "glue",
    "GPArotation",
    "gridExtra",
    "gss",
    "gtable",
    "hdrcde",
    "highr",
    "HMDHFDplus",
    "Hmisc",
    "hms",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "janitor",
    "jquerylib",
    "jsonlite",
    "kernlab",
    "KernSmooth",
    "knitr",
    "ks",
    "labeling",
    "LaplacesDemon",
    "lattice",
    "lifecycle",
    "linprog",
    "Lmoments",
    "lmtest",
    "locfit",
    "lpSolve",
    "lubridate",
    "magic",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mclust",
    "memoise",
    "mgcv",
    "mime",
    "mnormt",
    "multicool",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "openssl",
    "pcaPP",
    "pdfCluster",
    "pillar",
    "pkgconfig",
    "pracma",
    "prettyunits",
    "progress",
    "proxy",
    "psych",
    "purrr",
    "quantreg",
    "R6",
    "rainbow",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppProgress",
    "RCurl",
    "Rdpack",
    "readr",
    "rlang",
    "rmarkdown",
    "ROOPSD",
    "rpart",
    "rstudioapi",
    "rvest",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "sde",
    "selectr",
    "snakecase",
    "SparseM",
    "spatial",
    "stabledist",
    "stringi",
    "stringr",
    "strucchange",
    "survival",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "timeSeries",
    "tinytex",
    "tzdb",
    "urca",
    "utf8",
    "vars",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "zoo"
  ],
  "_score": 9.132660136710797,
  "_indexed": true,
  "_nocasepkg": "demography",
  "_universes": [
    "robjhyndman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1.9000",
      "date": "2026-06-16T09:23:37.000Z",
      "distro": "noble",
      "commit": "688551fc29756cb546ecf9ead4924afa3453e072",
      "fileid": "733de110f4908868d5b5983ceca5e80a5a4c9b3d8ec02b1d48a99ea90170fa86",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27607326666"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.1.9000",
      "date": "2026-06-16T09:24:32.000Z",
      "distro": "noble",
      "commit": "688551fc29756cb546ecf9ead4924afa3453e072",
      "fileid": "95e8436a06c291b7ba076da26c07b2e1ddf79bfa164003c31549f1ce3ff5237b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27607326666"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1.9000",
      "date": "2026-06-16T09:22:51.000Z",
      "commit": "688551fc29756cb546ecf9ead4924afa3453e072",
      "fileid": "f68a885aab9b76f1c43488f6ed7e58b25299fb3790e6d1bce04fe95d36eae3d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27607326666"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.1.9000",
      "date": "2026-06-16T09:23:07.000Z",
      "commit": "688551fc29756cb546ecf9ead4924afa3453e072",
      "fileid": "569cb46f3ffb3faab8f00c63146cabda27a92a6c7a91510ff2a1d9a72789d6f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27607326666"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1.9000",
      "date": "2026-06-16T09:23:52.000Z",
      "commit": "688551fc29756cb546ecf9ead4924afa3453e072",
      "fileid": "da5da34cd352515a30efe72b54eda1120368b269dc4318822fab797985d93413",
      "status": "success",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27607326666"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1.9000",
      "date": "2026-06-16T09:22:38.000Z",
      "commit": "688551fc29756cb546ecf9ead4924afa3453e072",
      "fileid": "6a2866c6c7e7af30720cc66f66afbc8ed880088862680b95da4518215f5f0811",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27607326666"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.1.9000",
      "date": "2026-06-16T09:22:28.000Z",
      "commit": "688551fc29756cb546ecf9ead4924afa3453e072",
      "fileid": "a3fa67b1128bbcafd16228ba75b5fc193079a5ea4941f4870c1f4a2a8ee7cf91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27607326666"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.1.9000",
      "date": "2026-06-16T09:22:47.000Z",
      "commit": "688551fc29756cb546ecf9ead4924afa3453e072",
      "fileid": "ffa3d98e7e64a1288b0c0a72624ac8e4271c56202b463531ad0348fff700efc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/robjhyndman/actions/runs/27607326666"
    }
  ]
}