{
  "_id": "6a213701cd65a98ecbd26c52",
  "Package": "HospitalNetwork",
  "Type": "Package",
  "Title": "Building Networks of Hospitals Through Patients Transfers",
  "Version": "0.9.4.9000",
  "Authors@R": "c(\nperson(\"Pascal\", \"Crépey\", email = \"pascal.crepey@ehesp.fr\", role = c(\"aut\", \"cre\", \"cph\")),\nperson(\"Tjibbe\", \"Donker\", email = \"tjibbe.donker@uniklinik-freiburg.de\", role = \"aut\"),\nperson(\"Clément\", \"Massonnaud\", email = \"clement.massonnaud@gmail.com\", role = \"aut\"),\nperson(\"Michael\", \"Lydeamore\", email=\"michael.lydeamore@monash.edu\", role=c(\"aut\"))\n)",
  "Description": "Set of tools to help interested researchers to build\nhospital networks from data on hospitalized patients\ntransferred between hospitals. Methods provided have been used\nin Donker T, Wallinga J, Grundmann H. (2010)\n<doi:10.1371/journal.pcbi.1000715>, and Nekkab N, Crépey P,\nAstagneau P, Opatowski L, Temime L. (2020)\n<doi:10.1038/s41598-020-71212-6>.",
  "URL": "https://pascalcrepey.github.io/HospitalNetwork/",
  "BugReports": "https://github.com/PascalCrepey/HospitalNetwork/issues",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyLoad": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Language": "en-US",
  "Config/pak/sysreqs": "libfontconfig1-dev libfreetype6-dev libglpk-dev\nlibicu-dev libxml2-dev",
  "Repository": "https://pascalcrepey.r-universe.dev",
  "Date/Publication": "2025-11-06 08:29:40 UTC",
  "RemoteUrl": "https://github.com/pascalcrepey/hospitalnetwork",
  "RemoteRef": "HEAD",
  "RemoteSha": "a2658f401d54eab83f2e3383059044c2ec19a13a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 08:23:22 UTC",
    "User": "root"
  },
  "Author": "Pascal Crépey [aut, cre, cph],\nTjibbe Donker [aut],\nClément Massonnaud [aut],\nMichael Lydeamore [aut]",
  "Maintainer": "Pascal Crépey <pascal.crepey@ehesp.fr>",
  "MD5sum": "d755bee66d780d7b3ba21c798f1cf14e",
  "_user": "pascalcrepey",
  "_type": "src",
  "_file": "HospitalNetwork_0.9.4.9000.tar.gz",
  "_fileid": "615dbbe3e3797c28a0c550880766ea502963af8ddb6a1e87b2b05be26c24f231",
  "_filesize": 1119324,
  "_sha256": "615dbbe3e3797c28a0c550880766ea502963af8ddb6a1e87b2b05be26c24f231",
  "_created": "2026-06-04T08:23:22.000Z",
  "_published": "2026-06-04T08:27:45.977Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79479029313,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406589142"
    },
    {
      "job": 79479029351,
      "time": 196,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406599601"
    },
    {
      "job": 79479029340,
      "time": 220,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7406595441"
    },
    {
      "job": 79479029327,
      "time": 186,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406588289"
    },
    {
      "job": 79478332617,
      "time": 259,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406534646"
    },
    {
      "job": 79479029455,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406579737"
    },
    {
      "job": 79479029403,
      "time": 140,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7406581918"
    },
    {
      "job": 79479029336,
      "time": 118,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7406574363"
    },
    {
      "job": 79479029386,
      "time": 148,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406584985"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pascalcrepey/actions/runs/26939822095",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/pascalcrepey/hospitalnetwork",
  "_commit": {
    "id": "a2658f401d54eab83f2e3383059044c2ec19a13a",
    "author": "HilelAH <146726299+HilelAH@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Hospinet segmentation (#36)\n\n* [FIX] Hospinet segmentation\n\n* fix failing tests + re-introduce special case of single cluster for spaghetti graph\n\n* fix minor warnings and notes\n\n---------\n\nCo-authored-by: Hilel <h.alvarez.huguet@gmail.com>\nCo-authored-by: Pascal Crépey <crepey@gmail.com>",
    "time": 1762417780
  },
  "_maintainer": {
    "name": "Pascal Crépey",
    "email": "pascal.crepey@ehesp.fr",
    "login": "pascalcrepey",
    "twitter": "@PascalCrepey",
    "description": "",
    "uuid": 6973033
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggraph",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "ggforce",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinyWidgets",
      "role": "Suggests"
    },
    {
      "package": "shinydashboard",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "shinyalert",
      "role": "Suggests"
    },
    {
      "package": "shinyjs",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "pander",
      "role": "Suggests"
    },
    {
      "package": "glue",
      "role": "Suggests"
    },
    {
      "package": "golem",
      "role": "Suggests"
    },
    {
      "package": "htmltools",
      "role": "Suggests"
    }
  ],
  "_owner": "pascalcrepey",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-45",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "hospital-networks",
    "patient-database",
    "patients-transfers"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "pascalcrepey",
      "count": 104,
      "uuid": 6973033
    },
    {
      "user": "tjibbed",
      "count": 44,
      "uuid": 53034871
    },
    {
      "user": "clementmassonnaud",
      "count": 32,
      "uuid": 29048911
    },
    {
      "user": "mikelydeamore",
      "count": 3,
      "uuid": 3804318
    },
    {
      "user": "hilelah",
      "count": 1,
      "uuid": 146726299
    }
  ],
  "_userbio": {
    "uuid": 6973033,
    "type": "user",
    "name": "Pascal Crépey"
  },
  "_downloads": {
    "count": 167,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/HospitalNetwork"
  },
  "_devurl": "https://github.com/pascalcrepey/hospitalnetwork",
  "_pkgdown": "https://pascalcrepey.github.io/HospitalNetwork/",
  "_searchresults": 14,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/HospitalNetwork.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pascalcrepey/hospitalnetwork",
  "_realowner": "pascalcrepey",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.9.3",
      "date": "2023-02-27"
    },
    {
      "version": "0.9.4",
      "date": "2024-12-22"
    }
  ],
  "_exports": [
    "all_admissions_summary",
    "checkBase",
    "create_fake_subjectDB",
    "create_fake_subjectDB_clustered",
    "create_subject_stay",
    "edgelist_from_base",
    "get_metrics",
    "HospiNet",
    "hospinet_from_subject_database",
    "matrix_from_base",
    "matrix_from_edgelist",
    "per_facility_summary"
  ],
  "_help": [
    {
      "page": "adjust_overlapping_stays",
      "title": "Check and fix overlapping admissions.",
      "topics": [
        "adjust_overlapping_stays"
      ]
    },
    {
      "page": "all_admissions_summary",
      "title": "Summary statistics on entire database",
      "topics": [
        "all_admissions_summary"
      ]
    },
    {
      "page": "checkBase",
      "title": "General check function",
      "topics": [
        "checkBase"
      ]
    },
    {
      "page": "checkFormat",
      "title": "Check database format",
      "topics": [
        "checkFormat"
      ]
    },
    {
      "page": "create_fake_subjectDB",
      "title": "Create a fake subject database",
      "topics": [
        "create_fake_subjectDB"
      ]
    },
    {
      "page": "create_fake_subjectDB_clustered",
      "title": "Create a fake subject database with clustering",
      "topics": [
        "create_fake_subjectDB_clustered"
      ]
    },
    {
      "page": "create_subject_stay",
      "title": "Create a fake subject stay",
      "topics": [
        "create_subject_stay"
      ]
    },
    {
      "page": "edgelist_from_base",
      "title": "Compute the edgelist of a network from a database of movements records.",
      "topics": [
        "edgelist_from_base"
      ]
    },
    {
      "page": "get_betweenness",
      "title": "Compute the betweenness centrality",
      "topics": [
        "get_betweenness"
      ]
    },
    {
      "page": "get_closeness",
      "title": "Compute closeness",
      "topics": [
        "get_closeness"
      ]
    },
    {
      "page": "get_clusters",
      "title": "Compute the clusters",
      "topics": [
        "get_clusters"
      ]
    },
    {
      "page": "get_degree",
      "title": "Compute the degree of each nodes in the network",
      "topics": [
        "get_degree"
      ]
    },
    {
      "page": "get_hubs_bycluster",
      "title": "Function computing hub scores of nodes by group",
      "topics": [
        "get_hubs_bycluster"
      ]
    },
    {
      "page": "get_hubs_global",
      "title": "Function computing hub scores for each node. If bycluster = TRUE, hub scores are computed by cluster",
      "topics": [
        "get_hubs_global"
      ]
    },
    {
      "page": "get_matrix_bycluster",
      "title": "Function returning matrices of transfers within each by clusters",
      "topics": [
        "get_matrix_bycluster"
      ]
    },
    {
      "page": "get_metrics",
      "title": "Compute network metrics",
      "topics": [
        "get_metrics"
      ]
    },
    {
      "page": "HospiNet",
      "title": "Class providing the HospiNet object with its methods",
      "topics": [
        "HospiNet"
      ]
    },
    {
      "page": "hospinet_from_subject_database",
      "title": "Create HospiNet object from subject database",
      "topics": [
        "hospinet_from_subject_database"
      ]
    },
    {
      "page": "matrix_from_base",
      "title": "Compute the adjacency matrix of a network from a database of movements records.",
      "topics": [
        "matrix_from_base"
      ]
    },
    {
      "page": "matrix_from_edgelist",
      "title": "Compute the adjacency matrix of a network from its edgelist",
      "topics": [
        "matrix_from_edgelist"
      ]
    },
    {
      "page": "per_facility_summary",
      "title": "Function that extracts summary statistics from entire database",
      "topics": [
        "per_facility_summary"
      ]
    }
  ],
  "_readme": "https://github.com/pascalcrepey/hospitalnetwork/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "cachem",
    "checkmate",
    "cli",
    "cpp11",
    "data.table",
    "dplyr",
    "farver",
    "fastmap",
    "generics",
    "ggforce",
    "ggplot2",
    "ggraph",
    "ggrepel",
    "glue",
    "graphlayouts",
    "gridExtra",
    "gtable",
    "igraph",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "pillar",
    "pkgconfig",
    "polyclip",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "systemfonts",
    "tibble",
    "tidygraph",
    "tidyr",
    "tidyselect",
    "timechange",
    "tweenr",
    "utf8",
    "vctrs",
    "viridis",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "HospitalNetwork-Workflow.Rmd",
      "filename": "HospitalNetwork-Workflow.html",
      "title": "HospitalNetwork-Workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Context",
        "Data",
        "Required data",
        "Optional data (in the same database)",
        "Optional data (in a separate database)",
        "Workflow",
        "Diagnostic tests",
        "Requirements",
        "Data management",
        "The HospiNet object",
        "Using the package"
      ],
      "created": "2019-07-24 14:10:29",
      "modified": "2024-12-23 15:37:27",
      "commits": 10
    }
  ],
  "_score": 5.769377326076139,
  "_indexed": true,
  "_nocasepkg": "hospitalnetwork",
  "_universes": [
    "pascalcrepey"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.4.9000",
      "date": "2026-06-04T08:25:49.000Z",
      "distro": "noble",
      "commit": "a2658f401d54eab83f2e3383059044c2ec19a13a",
      "fileid": "67ca77f800088c024171e22ea7d8c4469bd63e470e1a12a623fe99567ef08565",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pascalcrepey/actions/runs/26939822095"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.4.9000",
      "date": "2026-06-04T08:26:07.000Z",
      "distro": "noble",
      "commit": "a2658f401d54eab83f2e3383059044c2ec19a13a",
      "fileid": "ce4092dec2e90c5cee86892e6b85ebb0c3f510ba9f1bf853f60fb6fcb91ac6c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pascalcrepey/actions/runs/26939822095"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.4.9000",
      "date": "2026-06-04T08:25:59.000Z",
      "commit": "a2658f401d54eab83f2e3383059044c2ec19a13a",
      "fileid": "3b48773cfbf8dfccd6027d99d2fee13218ffeed48a50c26c14eb0a48a39062fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pascalcrepey/actions/runs/26939822095"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.4.9000",
      "date": "2026-06-04T08:25:48.000Z",
      "commit": "a2658f401d54eab83f2e3383059044c2ec19a13a",
      "fileid": "3d1e2f04fbff773f2f54571ca0c164cd1cad6abad51ae18d191ff6739eaa3397",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pascalcrepey/actions/runs/26939822095"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.4.9000",
      "date": "2026-06-04T08:26:01.000Z",
      "commit": "a2658f401d54eab83f2e3383059044c2ec19a13a",
      "fileid": "244000eb622a2309f1e115b59afd6921af19e809dc977fc4f2bd1492c229446d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pascalcrepey/actions/runs/26939822095"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.4.9000",
      "date": "2026-06-04T08:25:00.000Z",
      "commit": "a2658f401d54eab83f2e3383059044c2ec19a13a",
      "fileid": "87f1e41bf2d5677fad452316db4aefad15a8d9d1ae5b6318842f182c17e051fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pascalcrepey/actions/runs/26939822095"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.4.9000",
      "date": "2026-06-04T08:24:41.000Z",
      "commit": "a2658f401d54eab83f2e3383059044c2ec19a13a",
      "fileid": "e1203cffc42129955e0f19931f8b18a4d83d30d07ec6a6a6b258aeea458c00d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pascalcrepey/actions/runs/26939822095"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9.4.9000",
      "date": "2026-06-04T08:25:08.000Z",
      "commit": "a2658f401d54eab83f2e3383059044c2ec19a13a",
      "fileid": "ce871925aa282c557e5aae84fc337a5e08986bd2d6a4a2afa2781f36507a81e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pascalcrepey/actions/runs/26939822095"
    }
  ]
}