{
  "_id": "6afd79098c54a69a6a56037d",
  "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-11-18 09:44:27 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>)",
  "_user": "willekens",
  "_type": "src",
  "_file": "VirtualPop_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/8254791194ea9c4037b3a463ead3022a3ba02e4b70a9f82f80240938931a4cdd",
  "_filesize": 1888016,
  "_sha256": "8254791194ea9c4037b3a463ead3022a3ba02e4b70a9f82f80240938931a4cdd",
  "_expires": "2027-02-26T10:08:08.000Z",
  "_created": "2026-11-18T09:44:27.000Z",
  "_published": "2026-11-20T04:07:45.194Z",
  "_upstream": "https://github.com/willekens/virtualpop",
  "_status": "success",
  "_maintainer": {
    "name": "Frans Willekens",
    "email": "willekens@nidi.nl",
    "login": "willekens",
    "description": "Professor Emeritus, University of Groningen",
    "uuid": 26305131,
    "orcid": "0000-0001-6125-0212"
  },
  "_jobs": [
    {
      "job": 134713771952,
      "time": 178,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14415364301"
    },
    {
      "job": 134713771979,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14416281924"
    },
    {
      "job": 134713771875,
      "time": 220,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14415809868"
    },
    {
      "job": 134713771982,
      "time": 205,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14417138194"
    },
    {
      "job": 134711953978,
      "time": 203,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14415577558"
    },
    {
      "job": 134713771923,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14416610924"
    },
    {
      "job": 134713772000,
      "time": 82,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14416226486"
    },
    {
      "job": 134713771921,
      "time": 75,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14416760464"
    },
    {
      "job": 134713773078,
      "time": 80,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14415169196"
    }
  ],
  "_buildurl": "https://github.com/r-universe/willekens/actions/runs/44278242664",
  "_commit": {
    "id": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
    "author": "Tim Riffe <tim.riffe@gmail.com>",
    "committer": "Frans Willekens <willekens@nidi.nl>",
    "message": "Update DESCRIPTION",
    "time": 1676121953
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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,
    "description": "Professor Emeritus, University of Groningen"
  },
  "_downloads": {
    "count": 508,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/VirtualPop"
  },
  "_devurl": "https://github.com/willekens/virtualpop",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/VirtualPop.html"
  ],
  "_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-11-18T09:47:21.000Z",
      "distro": "resolute",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/54252c23f62d15a7799a52a83307309bf4bde8cdc2e374bcd04b1517308f8b99",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/44278242664"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-11-18T09:46:43.000Z",
      "distro": "resolute",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/47b4628720f4eb4a0ef675555fe9c5f710cc7179e7b311de1126fb4e9be0e776",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/44278242664"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-11-18T10:04:06.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/dc610aeb87b7c0f02d1230a0b0ea50e46f4f2594784f2f3b479f55f1b0cd26eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/44278242664"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-11-18T10:06:48.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/9bd43d1b23376ab6d72a5968f5f781701bae2f24d67d875ae3e2557443d0b8f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/44278242664"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-11-18T09:46:41.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/dc41b87517a6084618d13c0f1d6a7efdf25238e7c51a42ca2cd2c3b4b9438d80",
      "status": "success",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/44278242664"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-11-18T09:45:44.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/fa5c239921d3bac03d5362ff69403e15f94f07196f75b6c1f363a99ed2d39445",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/44278242664"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-11-18T09:45:43.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/883e28c9d794126470caaaf2a926e2d4ff9d2772d0a38b8a1c486d04bebd17e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/44278242664"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-11-18T09:45:42.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/e4aff1d4ad1c12537d378a5011f5a052e0da0a042aa45d25c85cdac44602177f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/44278242664"
    }
  ]
}