{
  "_id": "6ad5c8c27f75c4fbd3a1e660",
  "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-10-19 07:23:16 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/215691534c2fec87365c395a70516e23536389f03f0a9caf7f7e5bc6ce9bf079",
  "_filesize": 1906277,
  "_sha256": "215691534c2fec87365c395a70516e23536389f03f0a9caf7f7e5bc6ce9bf079",
  "_expires": "2027-01-27T07:37:36.000Z",
  "_created": "2026-10-19T07:23:16.000Z",
  "_published": "2026-10-19T07:37:38.660Z",
  "_buildurl": "https://github.com/r-universe/willekens/actions/runs/39215097719",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117938868330,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12169333736"
    },
    {
      "job": 117938868254,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12169018028"
    },
    {
      "job": 117938868551,
      "time": 184,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12169913597"
    },
    {
      "job": 117938868281,
      "time": 175,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12169966056"
    },
    {
      "job": 117937089759,
      "time": 311,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12169467396"
    },
    {
      "job": 117938868160,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12169542738"
    },
    {
      "job": 117938868198,
      "time": 113,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12169522842"
    },
    {
      "job": 117938868360,
      "time": 90,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12169527905"
    },
    {
      "job": 117938868275,
      "time": 102,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12169607466"
    }
  ],
  "_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": "Professor Emeritus, University of Groningen",
    "uuid": 26305131,
    "orcid": "0000-0001-6125-0212"
  },
  "_distro": "resolute",
  "_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": 445,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/VirtualPop"
  },
  "_devurl": "https://github.com/willekens/virtualpop",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_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-10-19T07:25:28.000Z",
      "distro": "resolute",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/b9399e8d87df6de18a55bba8c629fcefe87c899f581009ee02dc38cd061085ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/39215097719"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-10-19T07:25:19.000Z",
      "distro": "resolute",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/6af16fe837a34fd574ac4cddba2ce22a794d133f9e354a6487ecc7b5705b5962",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/39215097719"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-10-19T07:36:16.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/fe9638bf3215bf679eac9a5d42d7756add89bb57c040c20bf17e696d54d8b345",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/39215097719"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-10-19T07:32:01.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/19fd62f3ae4660ecfaf9d4cc2009eb940240282eb907d7d0fb2d3d51034f1356",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/39215097719"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-10-19T07:25:24.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/0b34554b88420be00636320c1adff92ef5cf5713172c6a4d4c1900e665345b87",
      "status": "success",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/39215097719"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-19T07:24:54.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/d26de0c4f49d695fed3ae7f473d3a3a02a1780ee549df7fae8c6ed2155883edd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/39215097719"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-19T07:24:36.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/f7f3c977b7eddd5533a08bf55ac0a67c6542e4b5a5ed90f843b2aff498182c07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/39215097719"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-10-19T07:24:43.000Z",
      "commit": "8ab00d1f8f6e5bdef7ec8789db662f3d1ee1d237",
      "fileid": "https://r2.ropensci.org/36ba36f58b47b6911a116d5663f70b6023b2517f95da4e3e14bf8f54ea44c4a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/willekens/actions/runs/39215097719"
    }
  ]
}