{
  "_id": "6a281dcca476d7de6d3c77f7",
  "Package": "MicSim",
  "Type": "Package",
  "Title": "Performing Continuous-Time Microsimulation",
  "Version": "3.0.0",
  "Date": "2025-08-29",
  "Authors@R": "c(person(\"Sabine\", \"Zinn\", role = c(\"aut\",\"cre\"), email = \"szinn@diw.de\"),\nperson(\"Felix\", \"von Heusinger\", email = \"fvonheusinger@diw.de\", role = \"ctb\"),\nperson(\"Camila\", \"Weber\", email = \"cweber@diw.de\", role = \"ctb\"),\nperson(\"Claudio\",\"Bosco\", role = \"ctb\", email = \"Claudio.BOSCO@ec.europa.eu\"),\nperson(\"Maurizio\",\"Teobaldell\", role = \"ctb\", email = \"Maurizio.TEOBALDELLI@ext.ec.europa.eu\"))",
  "Description": "This toolkit allows performing continuous-time\nmicrosimulation for a wide range of life science (demography,\nsocial sciences, epidemiology) applications. Individual\nlife-courses are specified by a continuous-time multi-state\nmodel as described in Zinn (2014) <doi:10.34196/IJM.00105>.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Repository": "https://bieneschwarze.r-universe.dev",
  "Date/Publication": "2026-06-09 12:39:04 UTC",
  "RemoteUrl": "https://github.com/bieneschwarze/micsim",
  "RemoteRef": "HEAD",
  "RemoteSha": "9095cf61c54d541ba19157c34717b7d0b24d58f3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 14:00:34 UTC",
    "User": "root"
  },
  "Author": "Sabine Zinn [aut, cre],\nFelix von Heusinger [ctb],\nCamila Weber [ctb],\nClaudio Bosco [ctb],\nMaurizio Teobaldell [ctb]",
  "Maintainer": "Sabine Zinn <szinn@diw.de>",
  "MD5sum": "b2a15a74eb98f9277efcfc738b0a91e0",
  "_user": "bieneschwarze",
  "_type": "src",
  "_file": "MicSim_3.0.0.tar.gz",
  "_fileid": "f5719819c1bbe5a0ac2056879f3325a806ba92108db331edc3c8ec4a7f68b42d",
  "_filesize": 2185281,
  "_sha256": "f5719819c1bbe5a0ac2056879f3325a806ba92108db331edc3c8ec4a7f68b42d",
  "_created": "2026-06-09T14:00:34.000Z",
  "_published": "2026-06-09T14:06:04.077Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80341497527,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7510039233"
    },
    {
      "job": 80341498080,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510021155"
    },
    {
      "job": 80341497494,
      "time": 121,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7510063219"
    },
    {
      "job": 80341498026,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510093109"
    },
    {
      "job": 80340300621,
      "time": 313,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7509959412"
    },
    {
      "job": 80341497478,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7510012097"
    },
    {
      "job": 80341497625,
      "time": 118,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7510014591"
    },
    {
      "job": 80341497646,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7510003842"
    },
    {
      "job": 80341497687,
      "time": 73,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7509994196"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bieneschwarze/actions/runs/27211135999",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bieneschwarze/micsim",
  "_commit": {
    "id": "9095cf61c54d541ba19157c34717b7d0b24d58f3",
    "author": "Camila Weber <webertcamila@gmail.com>",
    "committer": "Camila Weber <webertcamila@gmail.com>",
    "message": "removing epc infos from readme\n",
    "time": 1781008744
  },
  "_maintainer": {
    "name": "Sabine Zinn",
    "email": "szinn@diw.de",
    "login": "bieneschwarze",
    "description": "",
    "uuid": 24911910
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "rlecuyer",
      "role": "Imports"
    },
    {
      "package": "snowfall",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    },
    {
      "package": "stringi",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "bieneschwarze",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 3
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 3
    },
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-06-02"
    }
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "camilatweber",
      "count": 15,
      "uuid": 40443936
    },
    {
      "user": "bieneschwarze",
      "count": 12,
      "uuid": 24911910
    },
    {
      "user": "fheusing",
      "count": 1,
      "uuid": 181851487
    }
  ],
  "_userbio": {
    "uuid": 24911910,
    "type": "user",
    "name": "Sabine Zinn"
  },
  "_downloads": {
    "count": 316,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MicSim"
  },
  "_devurl": "https://github.com/bieneschwarze/micsim",
  "_searchresults": 17,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/MicSim.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bieneschwarze/micsim",
  "_realowner": "bieneschwarze",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2014-01-08"
    },
    {
      "version": "1.0.1",
      "date": "2014-02-18"
    },
    {
      "version": "1.0.2",
      "date": "2014-03-12"
    },
    {
      "version": "1.0.3",
      "date": "2014-04-23"
    },
    {
      "version": "1.0.4",
      "date": "2014-05-23"
    },
    {
      "version": "1.0.5",
      "date": "2014-06-23"
    },
    {
      "version": "1.0.6",
      "date": "2014-07-02"
    },
    {
      "version": "1.0.7",
      "date": "2015-02-27"
    },
    {
      "version": "1.0.8",
      "date": "2015-03-05"
    },
    {
      "version": "1.0.9",
      "date": "2015-07-24"
    },
    {
      "version": "1.0.10",
      "date": "2015-11-10"
    },
    {
      "version": "1.0.11",
      "date": "2016-02-08"
    },
    {
      "version": "1.0.12",
      "date": "2016-06-10"
    },
    {
      "version": "1.0.13",
      "date": "2018-09-13"
    },
    {
      "version": "1.0.15",
      "date": "2019-08-30"
    },
    {
      "version": "1.1.0",
      "date": "2022-01-31"
    },
    {
      "version": "2.0.0",
      "date": "2023-01-09"
    },
    {
      "version": "2.0.1",
      "date": "2024-01-23"
    },
    {
      "version": "3.0.0",
      "date": "2025-08-29"
    }
  ],
  "_exports": [
    "buildTransitionMatrix",
    "convertToLongFormat",
    "convertToWideFormat",
    "getAgeInDays",
    "getDay",
    "getInDateFormat",
    "getInDays",
    "getInDays_my",
    "getMonth",
    "getYear",
    "micSim",
    "micSimParallel"
  ],
  "_datasets": [
    {
      "name": "immigrPopMigrExp",
      "title": "One possible population of migrants for the MicSim package.",
      "object": "immigrPopMigrExp",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "immigrDate",
        "birthDate",
        "immigrInitState"
      ],
      "rows": 3758,
      "table": true,
      "tojson": true
    },
    {
      "name": "initPopMigrExp",
      "title": "One possible initial population for the MicSim package.",
      "object": "initPopMigrExp",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "birthDate",
        "initState"
      ],
      "rows": 72965,
      "table": true,
      "tojson": true
    },
    {
      "name": "migrExpRates",
      "title": "Transition rates for migration example of MicSim package.",
      "object": "migrExpRates",
      "class": [
        "data.frame"
      ],
      "fields": [
        "mort_f_ES",
        "mort_f_NL",
        "mort_f_SE",
        "mort_m_ES",
        "mort_m_NL",
        "mort_m_SE",
        "fert_ES_0_1",
        "fert_ES_1_2",
        "fert_ES_2_3",
        "fert_ES_3_4",
        "fert_NL_0_1",
        "fert_NL_1_2",
        "fert_NL_2_3",
        "fert_NL_3_4",
        "fert_SE_0_1",
        "fert_SE_1_2",
        "fert_SE_2_3",
        "fert_SE_3_4",
        "rate_ES_NL",
        "rate_ES_SE",
        "rate_NL_ES",
        "rate_NL_SE",
        "rate_SE_ES",
        "rate_SE_NL",
        "emig_f_ES",
        "emig_f_NL",
        "emig_f_SE",
        "emig_m_ES",
        "emig_m_NL",
        "emig_m_SE"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    },
    {
      "name": "rates_mdd",
      "title": "Rate Data for Simulation of MDD example",
      "object": "rates_mdd",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age",
        "incidence_lo_m",
        "incidence_lo_f",
        "incidence_hi_m",
        "incidence_hi_f",
        "remission_lo_m",
        "remission_lo_f",
        "remission_hi_m",
        "remission_hi_f",
        "cf_incidence_lo_m",
        "cf_incidence_lo_f",
        "cf_incidence_hi_m",
        "cf_incidence_hi_f",
        "cf_remission_lo_m",
        "cf_remission_lo_f",
        "cf_remission_hi_m",
        "cf_remission_hi_f"
      ],
      "rows": 49,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "MicSim-package",
      "title": "MicSim: Continuous-time microsimulation for population projection",
      "topics": [
        "MicSim-package",
        "MicSim"
      ]
    },
    {
      "page": "buildTransitionMatrix",
      "title": "Determining transition pattern and transition functions",
      "topics": [
        "buildTransitionMatrix"
      ]
    },
    {
      "page": "convertToLongFormat",
      "title": "Reshaping microsimulation output into long format",
      "topics": [
        "convertToLongFormat"
      ]
    },
    {
      "page": "convertToWideFormat",
      "title": "Reshaping microsimulation output into wide format",
      "topics": [
        "convertToWideFormat"
      ]
    },
    {
      "page": "getAgeInDays",
      "title": "Get from a given date the age in days",
      "topics": [
        "getAgeInDays"
      ]
    },
    {
      "page": "getDay",
      "title": "Get the day in a month (in a year) from days elapsed since 01-01-1970",
      "topics": [
        "getDay"
      ]
    },
    {
      "page": "getInDateFormat",
      "title": "Get date in the format 'yyyyddmm' from days elapsed since 01-01-1970",
      "topics": [
        "getInDateFormat"
      ]
    },
    {
      "page": "getInDays",
      "title": "Get from a date given in the numeric format yyyymmdd the number of days elapsed since 1970-01-01",
      "topics": [
        "getInDays"
      ]
    },
    {
      "page": "getInDays_my",
      "title": "Get the number of days that have pasted from 1970-01-01 until 'yyyymm11'.",
      "topics": [
        "getInDays_my"
      ]
    },
    {
      "page": "getMonth",
      "title": "Get the month in a year from days elapsed since 01-01-1970",
      "topics": [
        "getMonth"
      ]
    },
    {
      "page": "getYear",
      "title": "Get the calendar year from days elapsed since 01-01-1970",
      "topics": [
        "getYear"
      ]
    },
    {
      "page": "immigrPopMigrExp",
      "title": "One possible population of migrants for the MicSim package.",
      "topics": [
        "immigrPopMigrExp"
      ]
    },
    {
      "page": "initPopMigrExp",
      "title": "One possible initial population for the MicSim package.",
      "topics": [
        "initPopMigrExp"
      ]
    },
    {
      "page": "micSim",
      "title": "micSim",
      "topics": [
        "micSim"
      ]
    },
    {
      "page": "micSimParallel",
      "title": "micSimParallel",
      "topics": [
        "micSimParallel"
      ]
    },
    {
      "page": "migrExpRates",
      "title": "Transition rates for migration example of MicSim package.",
      "topics": [
        "migrExpRates"
      ]
    },
    {
      "page": "rates_mdd",
      "title": "Rate Data for Simulation of MDD example",
      "topics": [
        "rates_mdd"
      ]
    }
  ],
  "_readme": "https://github.com/bieneschwarze/micsim/raw/HEAD/README.md",
  "_rundeps": [
    "rlecuyer",
    "snow",
    "snowfall"
  ],
  "_vignettes": [
    {
      "source": "simulation_major_depressive_disorder.Rmd",
      "filename": "simulation_major_depressive_disorder.html",
      "title": "Example of Simulating Educational Inequalities in Depression Using the MicSim Package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example of Simulating Educational Inequalities in Depression Using the MicSim Package",
        "Introduction",
        "Definition of Basic Simulation Frame",
        "Definition of initial population",
        "Definition of Transition Rates",
        "Definition of transition matrix",
        "Running the simulations",
        "Processing the output",
        "Analyzing output",
        "Age-specific prevalence",
        "Life course prevalence"
      ],
      "created": "2026-04-22 18:16:23",
      "modified": "2026-04-22 18:16:23",
      "commits": 1
    },
    {
      "source": "population_projection.Rmd",
      "filename": "population_projection.html",
      "title": "population_projection",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example 1: Population Projection (Germany)",
        "Retrieve and Prepare Input Data",
        "Base population",
        "Fertilty rates",
        "Mortality rates"
      ],
      "created": "2026-04-22 18:16:23",
      "modified": "2026-04-22 18:16:23",
      "commits": 1
    },
    {
      "source": "Simulating_Migration_Flows.Rmd",
      "filename": "Simulating_Migration_Flows.html",
      "title": "Examples on Simulating Migration Flows for the MicSim Package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Examples on Simulating Migration Flows for the MicSim Package",
        "Definition of Basic Simulation Frame",
        "Definition of initial population and newborn characteristics",
        "Rates Definition",
        "Fertility Rates",
        "Internal Migration Rates",
        "Mortality Rates",
        "Emigration rates",
        "Transition pattern and assignment of functions specifying transition rates",
        "Transition matrix for fertility",
        "Transition matrix for migration",
        "Transition matrix for mortality and emigration",
        "Combine all",
        "Define transitions triggering a birth event",
        "Run Simulation (using one core)",
        "Convert to long format",
        "Convert to wide format",
        "Run Simulation with parallel computing on several cores"
      ],
      "created": "2025-08-29 07:10:36",
      "modified": "2026-04-22 18:16:23",
      "commits": 2
    }
  ],
  "_score": 5.962842681201242,
  "_indexed": true,
  "_nocasepkg": "micsim",
  "_universes": [
    "bieneschwarze"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-06-09T14:03:27.000Z",
      "distro": "noble",
      "commit": "9095cf61c54d541ba19157c34717b7d0b24d58f3",
      "fileid": "34c8de1e4052417d89da43a7f709c9fa9ed86efd562e25125a1acc9e6bbc7964",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bieneschwarze/actions/runs/27211135999"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-06-09T14:02:48.000Z",
      "distro": "noble",
      "commit": "9095cf61c54d541ba19157c34717b7d0b24d58f3",
      "fileid": "9ae35792dc5607eb850eadce06f67a58574877d5555832cd4271606986c78aae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bieneschwarze/actions/runs/27211135999"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-06-09T14:04:23.000Z",
      "commit": "9095cf61c54d541ba19157c34717b7d0b24d58f3",
      "fileid": "b3b5ddb6e4b4914096bcb9a11cf81ed5d2e9cfccad4edd9c36c9ef67ba357840",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bieneschwarze/actions/runs/27211135999"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-06-09T14:05:24.000Z",
      "commit": "9095cf61c54d541ba19157c34717b7d0b24d58f3",
      "fileid": "d21a3dc228668c6e0871a8cfc8b55f97a2a02aa88cce220e9ce4c2f1cb91bace",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bieneschwarze/actions/runs/27211135999"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.0.0",
      "date": "2026-06-09T14:02:42.000Z",
      "commit": "9095cf61c54d541ba19157c34717b7d0b24d58f3",
      "fileid": "23ed76fa23c29fda7e7d3c6df544c62afe69eed6db5c64dea3f0bf5a13341eb1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bieneschwarze/actions/runs/27211135999"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-06-09T14:02:28.000Z",
      "commit": "9095cf61c54d541ba19157c34717b7d0b24d58f3",
      "fileid": "06f079950e6d770b1a6d2d172079f456d7ca68d3b11a8849069559cbb891883e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bieneschwarze/actions/runs/27211135999"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-06-09T14:02:08.000Z",
      "commit": "9095cf61c54d541ba19157c34717b7d0b24d58f3",
      "fileid": "b2c427e1ac20cb615c7f2fa5c8f591c1987685762c8ade3b82073b34b7bb5697",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bieneschwarze/actions/runs/27211135999"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-06-09T14:01:45.000Z",
      "commit": "9095cf61c54d541ba19157c34717b7d0b24d58f3",
      "fileid": "bdcce3a762d6447b39c6bc0064e94c897b86c246fa6111bcd8b13d297e7c3d67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bieneschwarze/actions/runs/27211135999"
    }
  ]
}