{
  "_id": "6a37963b3efcd9bda441d67b",
  "Package": "VirtualPop",
  "Type": "Package",
  "Title": "Simulation of Populations by Sampling Waiting-Time Distributions",
  "Version": "1.0.3",
  "BuildResaveData": "best",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Date": "2023-02-02",
  "Authors@R": "c(person(\"Frans\", \"Willekens\", , \"willekens@nidi.nl\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-6125-0212\")),\nperson(\"Tim\", \"Riffe\", role = \"ctb\",\nemail = \"tim.riffe@gmail.com\", comment = c(ORCID = \"0000-0002-2673-4622\")))",
  "Maintainer": "Frans Willekens <willekens@nidi.nl>",
  "Description": "Generates lifespans and fertility histories in continuous\ntime using individual-level state transition (multi-state)\nmodels and data from the Human Mortality Database and the Human\nFertility Database. To facilitate virtual population analysis,\ndata on virtual individuals are stored in a data structure\ncommonly used in sample surveys. Life histories are generated\nfor multiple generations. The genealogies that result\nfacilitate the study of family ties.",
  "License": "GPL-2",
  "NeedsCompilation": "no",
  "Encoding": "UTF-8",
  "BugReports": "https://github.com/willekens/VirtualPop/issues",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev libssl-dev libx11-dev",
  "Repository": "https://willekens.r-universe.dev",
  "Date/Publication": "2023-02-11 13:25:53 UTC",
  "RemoteUrl": "https://github.com/willekens/virtualpop",
  "RemoteRef": "HEAD",
  "RemoteSha": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
  "Packaged": {
    "Date": "2026-06-21 07:39:58 UTC",
    "User": "root"
  },
  "Author": "Frans Willekens [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-6125-0212>),\nTim Riffe [ctb] (ORCID: <https://orcid.org/0000-0002-2673-4622>)",
  "MD5sum": "e1c144d695b801a673af72a7d3772d14",
  "_user": "willekens",
  "_type": "src",
  "_file": "VirtualPop_1.0.3.tar.gz",
  "_fileid": "be8a580fae2421d0d9f9e9deb86be833642c36bec5b443d762451778fac264b6",
  "_filesize": 1890371,
  "_sha256": "be8a580fae2421d0d9f9e9deb86be833642c36bec5b443d762451778fac264b6",
  "_created": "2026-06-21T07:39:58.000Z",
  "_published": "2026-06-21T07:43:55.240Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82551774764,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7773095561"
    },
    {
      "job": 82551774763,
      "time": 138,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773094577"
    },
    {
      "job": 82551774771,
      "time": 176,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7773095779"
    },
    {
      "job": 82551774772,
      "time": 198,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773097683"
    },
    {
      "job": 82551552441,
      "time": 210,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773074399"
    },
    {
      "job": 82551774759,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773091672"
    },
    {
      "job": 82551774780,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7773089387"
    },
    {
      "job": 82551774773,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7773086509"
    },
    {
      "job": 82551774784,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773088224"
    }
  ],
  "_buildurl": "https://github.com/r-universe/willekens/actions/runs/27897458851",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/willekens/virtualpop",
  "_commit": {
    "id": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
    "author": "Tim Riffe <tim.riffe@gmail.com>",
    "committer": "Frans Willekens <willekens@nidi.nl>",
    "message": "Update DESCRIPTION",
    "time": 1676121953
  },
  "_maintainer": {
    "name": "Frans Willekens",
    "email": "willekens@nidi.nl",
    "login": "willekens",
    "description": "",
    "uuid": 26305131,
    "orcid": "0000-0001-6125-0212"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "msm",
      "role": "Imports"
    },
    {
      "package": "HMDHFDplus",
      "version": ">= 2.0.1",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "foreign",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    },
    {
      "package": "remotes",
      "role": "Suggests"
    }
  ],
  "_owner": "willekens",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "demography",
    "life-histories",
    "multistate-models",
    "simulation"
  ],
  "_stars": 11,
  "_contributors": [
    {
      "user": "willekens",
      "count": 29,
      "uuid": 26305131
    },
    {
      "user": "timriffe",
      "count": 13,
      "uuid": 904603
    }
  ],
  "_userbio": {
    "uuid": 26305131,
    "type": "user",
    "name": "Frans Willekens",
    "followers": 15
  },
  "_downloads": {
    "count": 671,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/VirtualPop"
  },
  "_devurl": "https://github.com/willekens/virtualpop",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/VirtualPop.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/willekens/virtualpop",
  "_realowner": "willekens",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2022-06-23"
    },
    {
      "version": "2.0.2",
      "date": "2024-03-18"
    },
    {
      "version": "2.1.0",
      "date": "2025-04-11"
    }
  ],
  "_exports": [
    "Children",
    "GetData",
    "GetGenerations",
    "GetRates",
    "H_pw",
    "Lifespan",
    "Partnership",
    "pw_root",
    "r.pw_exp",
    "Sim_bio"
  ],
  "_datasets": [
    {
      "name": "dataLH",
      "title": "dataLH data",
      "object": "dataLH",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "gen",
        "sex",
        "bdated",
        "ddated",
        "x_D",
        "IDpartner",
        "IDmother",
        "IDfather",
        "jch",
        "nch",
        "id.1",
        "id.2",
        "id.3",
        "id.4",
        "id.5",
        "id.6",
        "id.7",
        "id.8",
        "id.9",
        "age.1",
        "age.2",
        "age.3",
        "age.4",
        "age.5",
        "age.6",
        "age.7",
        "age.8",
        "age.9"
      ],
      "rows": 29954,
      "table": true,
      "tojson": true
    },
    {
      "name": "dpopus",
      "title": "dpopus data Population of the United States in 2019 reported in the HMD (Population.txt file)",
      "object": "dpopus",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Females",
        "Males"
      ],
      "rows": 111,
      "table": true,
      "tojson": true
    },
    {
      "name": "rates",
      "title": "rates data",
      "object": "rates",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "Children",
      "title": "Generates Individual Fertility Histories, Using Function Sim_bio.",
      "topics": [
        "Children"
      ]
    },
    {
      "page": "dataLH",
      "title": "dataLH data",
      "topics": [
        "dataLH"
      ]
    },
    {
      "page": "dpopus",
      "title": "dpopus data Population of the United States in 2019 reported in the HMD (Population.txt file)",
      "topics": [
        "dpopus"
      ]
    },
    {
      "page": "GetData",
      "title": "Reads data from the HMD and HFD",
      "topics": [
        "GetData"
      ]
    },
    {
      "page": "GetGenerations",
      "title": "Creates Database 'dataLH' from Mortality Rates and Fertility Rates",
      "topics": [
        "GetGenerations"
      ]
    },
    {
      "page": "GetRates",
      "title": "Retrieves Data from HMD and HFD for a Selected Country (All Years)",
      "topics": [
        "GetRates"
      ]
    },
    {
      "page": "H_pw",
      "title": "Computes cumulative hazard at duration t.",
      "topics": [
        "H_pw"
      ]
    },
    {
      "page": "Lifespan",
      "title": "Generates Individual Lifespan(s)",
      "topics": [
        "Lifespan"
      ]
    },
    {
      "page": "Partnership",
      "title": "Allocates Partners to Members of Virtual Population.",
      "topics": [
        "Partnership"
      ]
    },
    {
      "page": "pw_root",
      "title": "Equation for which root must be determined.",
      "topics": [
        "pw_root"
      ]
    },
    {
      "page": "r.pw_exp",
      "title": "Sample from a piecewise-constant exponential distribution.",
      "topics": [
        "r.pw_exp"
      ]
    },
    {
      "page": "rates",
      "title": "rates data",
      "topics": [
        "rates"
      ]
    },
    {
      "page": "Sim_bio",
      "title": "Generic Function to Generate Single Life History",
      "topics": [
        "Sim_bio"
      ]
    }
  ],
  "_readme": "https://github.com/willekens/virtualpop/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "dplyr",
    "expm",
    "generics",
    "glue",
    "HMDHFDplus",
    "hms",
    "httr",
    "janitor",
    "jsonlite",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "Matrix",
    "mime",
    "msm",
    "mvtnorm",
    "openssl",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "rlang",
    "rvest",
    "selectr",
    "snakecase",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "Piecewise_exponential.Rmd",
      "filename": "Piecewise_exponential.html",
      "title": "Sampling Piecewise-Exponential Waiting Time Distributions",
      "author": "Frans Willekens",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Theoretical background: simulating waiting times",
        "Overview",
        "The piecewise-exponential distribution",
        "Application: generating individual ages at death from period death rates",
        "References"
      ],
      "created": "2022-06-09 08:55:13",
      "modified": "2022-07-07 21:16:04",
      "commits": 3
    },
    {
      "source": "MultistateLH.Rmd",
      "filename": "MultistateLH.html",
      "title": "Simulation of life histories",
      "author": "Frans Willekens",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Theoretical background: simulating life histories",
        "Illustration: simulation of a single life history",
        "Application: fertility histories of women in the United States",
        "References"
      ],
      "created": "2022-06-09 08:55:13",
      "modified": "2022-07-07 21:16:04",
      "commits": 2
    },
    {
      "source": "Validation.Rmd",
      "filename": "Validation.pdf",
      "title": "Validation of the simulation",
      "author": "Frans Willekens",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Validity",
        "References"
      ],
      "created": "2022-06-09 08:55:13",
      "modified": "2023-02-11 13:25:53",
      "commits": 3
    },
    {
      "source": "Tutorial.Rmd",
      "filename": "Tutorial.html",
      "title": "VirtualPop: Simulation of individual fertility careers from age-specific fertility and mortality rates",
      "author": "Frans Willekens",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Install the package",
        "Download the data",
        "Mortality and fertility rates",
        "Generate a virtual population",
        "Replace age at death by age at censoring",
        "Export the virtual population from R to STATA and SPSS",
        "Convert decimal dates into calendar dates",
        "Additional application: fertility careers in Japan",
        "References"
      ],
      "created": "2022-06-09 08:55:13",
      "modified": "2022-07-07 21:16:04",
      "commits": 2
    }
  ],
  "_score": 5.342422680822207,
  "_indexed": true,
  "_nocasepkg": "virtualpop",
  "_universes": [
    "willekens"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-21T07:42:19.000Z",
      "distro": "noble",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "d7ffff7782881521666f7d297edb9467464059288e7b569bb182d50fe9f5829a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/27897458851"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-21T07:42:14.000Z",
      "distro": "noble",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "e56c73964d07351488afac634680f6700e9c28a97347638df3e06be3e6815dd2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/27897458851"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-21T07:42:22.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "59a5c1c3854b13a12d96e063b88326787ef448cb1d210b348798586e11dbcb56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/27897458851"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-21T07:42:30.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "d95de473c40fba5446fe5b9139ab519c2097d1802370d310b3db0bc0790dde0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/27897458851"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-06-21T07:42:16.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "98a1066269fb8de7144d8d657dc40afa34f2c5da2fa908cb3febbcdbcbdce8b7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/27897458851"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-21T07:41:30.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "fa173e3e958744bd912206f10d936fd5f5faab5df30f8c823ca364a8f1106b47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/27897458851"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-21T07:41:12.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "d3d3994762f4da7e09e94a222a2f4c4a7b2ca0ad8cfac5540d0f1fda209fec4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/27897458851"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-21T07:41:24.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "46ee71ef9f9c3c68f69b20376b0c2bdace019dea74edb81cf7756bc7dee877b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/27897458851"
    }
  ]
}