{
  "_id": "6a100122acfb0bcc41c7ba2d",
  "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-05-22 07:05:11 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": "44c0c52d22dcfc866ee0860d96248961",
  "_user": "willekens",
  "_type": "src",
  "_file": "VirtualPop_1.0.3.tar.gz",
  "_fileid": "21bc46a431b0cdf2810f358d90a247af4f8abdd8fa922930ae7134073dfd69ae",
  "_filesize": 1889782,
  "_sha256": "21bc46a431b0cdf2810f358d90a247af4f8abdd8fa922930ae7134073dfd69ae",
  "_created": "2026-05-22T07:05:11.000Z",
  "_published": "2026-05-22T07:09:22.469Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77332520221,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7154740976"
    },
    {
      "job": 77332520191,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154740897"
    },
    {
      "job": 77332520177,
      "time": 193,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7154747172"
    },
    {
      "job": 77332520186,
      "time": 159,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154741900"
    },
    {
      "job": 77332056487,
      "time": 219,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154699385"
    },
    {
      "job": 77332520198,
      "time": 165,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154746029"
    },
    {
      "job": 77332520316,
      "time": 94,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7154727426"
    },
    {
      "job": 77332520209,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7154723732"
    },
    {
      "job": 77332520235,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7154724962"
    }
  ],
  "_buildurl": "https://github.com/r-universe/willekens/actions/runs/26273446521",
  "_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"
  },
  "_downloads": {
    "count": 599,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/VirtualPop"
  },
  "_devurl": "https://github.com/willekens/virtualpop",
  "_searchresults": 2,
  "_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-05-22T07:07:32.000Z",
      "distro": "noble",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "9f4e69ebf3696d50650c34322f99d2ddbfc1daa2859ee527ce34e186021a0344",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/26273446521"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-22T07:07:34.000Z",
      "distro": "noble",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "66356ce605fd4910f24c75b8452d425a1bf0f1bdce9637c2f027253c017c9e3d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/26273446521"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-22T07:07:59.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "3eb6ebffb05fc39fece209d313af3dc4573d2d291841a83e9229fbe61d2a3070",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/26273446521"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-05-22T07:07:42.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "14c7d2d4820ca640f7e546e8496a7580d292c6297c4e7ce3e8eadd3de850d74f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/26273446521"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-05-22T07:08:17.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "65c03eed5e16f90e9c1f1f0e4aedb222c73f58d50af2843cde56c4505477c3b4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/26273446521"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-22T07:06:38.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "2aff656b43373d937995e8efc9b102b8c555982c906576963b19c1b3515cf400",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/26273446521"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-22T07:06:29.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "1132874d93fbb2857cafe311a8aa10073ad659c473280b2a9b8370d58a0c2621",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/26273446521"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-05-22T07:06:32.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "27873dcce0b7b13269ca2d15d28d3f1d6a590b04812f54b9186c766a1954cb32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/26273446521"
    }
  ]
}