{
  "_id": "6a549b76ff0138dec5d65a83",
  "Package": "RESIDE",
  "Title": "Rapid Easy Synthesis to Inform Data Extraction",
  "Version": "0.3.3",
  "Authors@R": "c(person(\"Ryan\", \"Field\", , \"ryan.field@glasgow.ac.uk\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4424-9890\")),\nperson(\"David\", \"McAllister\", , \"david.mcallister@glasgow.ac.uk\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-3550-1764\")),\nperson(\"Claudia\", \"Geue\", , \"cladia.geue@glasgow.ac.uk\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0003-2243-0733\")))",
  "Description": "Developed to assist researchers with planning analysis,\nprior to obtaining data from Trusted Research Environments\n(TREs) also known as safe havens. With functionality to export\nand import marginal distributions as well as synthesise data,\nboth with and without correlations from these marginal\ndistributions. Using a multivariate cumulative distribution\n(COPULA). Additionally the International Stroke Trial (IST) is\nincluded as an example dataset under ODC-By licence Sandercock\net al. (2011) <doi:10.7488/ds/104>, Sandercock et al. (2011)\n<doi:10.1186/1745-6215-12-101>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "URL": "https://hehta.github.io/RESIDE/",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://hehta.r-universe.dev",
  "Date/Publication": "2025-09-16 10:27:38 UTC",
  "RemoteUrl": "https://github.com/hehta/reside",
  "RemoteRef": "HEAD",
  "RemoteSha": "8e76733ecff3a89f44739a4fa21bf929ac802002",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-13 07:56:57 UTC",
    "User": "root"
  },
  "Author": "Ryan Field [aut, cre] (ORCID: <https://orcid.org/0000-0002-4424-9890>),\nDavid McAllister [aut] (ORCID: <https://orcid.org/0000-0003-3550-1764>),\nClaudia Geue [ctb] (ORCID: <https://orcid.org/0000-0003-2243-0733>)",
  "Maintainer": "Ryan Field <ryan.field@glasgow.ac.uk>",
  "_user": "hehta",
  "_type": "src",
  "_file": "RESIDE_0.3.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/3df37ffeb6b50ffb4a60d4b426308ab2809c2dca67f12efcd47442b6cdd9e7fb",
  "_filesize": 702013,
  "_sha256": "3df37ffeb6b50ffb4a60d4b426308ab2809c2dca67f12efcd47442b6cdd9e7fb",
  "_expires": "2026-10-21T08:01:56.000Z",
  "_created": "2026-07-13T07:56:57.000Z",
  "_published": "2026-07-13T08:01:58.111Z",
  "_jobs": [
    {
      "job": 86763544230,
      "time": 216,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8272615194"
    },
    {
      "job": 86763544218,
      "time": 234,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8272621613"
    },
    {
      "job": 86763544187,
      "time": 262,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8272618462"
    },
    {
      "job": 86763544153,
      "time": 172,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8272588351"
    },
    {
      "job": 86762903350,
      "time": 221,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8272539286"
    },
    {
      "job": 86763544140,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8272590969"
    },
    {
      "job": 86763544172,
      "time": 171,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8272599878"
    },
    {
      "job": 86763544214,
      "time": 170,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8272599824"
    },
    {
      "job": 86763544188,
      "time": 157,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8272595114"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/hehta/actions/runs/29233517646",
  "_status": "success",
  "_upstream": "https://github.com/hehta/reside",
  "_commit": {
    "id": "8e76733ecff3a89f44739a4fa21bf929ac802002",
    "author": "Ryan J Field <57794045+RyanJField@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update issue templates",
    "time": 1758018458
  },
  "_maintainer": {
    "name": "Ryan Field",
    "email": "ryan.field@glasgow.ac.uk",
    "login": "ryanjfield",
    "bluesky": "@ryanjfield.bsky.social",
    "orcid": "0000-0002-4424-9890",
    "twitter": "@Ryan_J_Field",
    "description": "",
    "uuid": 57794045
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "bestNormalize",
      "role": "Imports"
    },
    {
      "package": "RDP",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "simstudy",
      "role": "Imports"
    },
    {
      "package": "matrixcalc",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "lifecycle",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    }
  ],
  "_owner": "hehta",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "ryanjfield",
      "count": 102,
      "uuid": 57794045
    }
  ],
  "_userbio": {
    "uuid": 133118444,
    "type": "organization",
    "name": "Heath Economics and Health Technology Assesment",
    "followers": 6,
    "description": "HEHTA - SHW - University of Glasgow"
  },
  "_downloads": {
    "count": 217,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RESIDE"
  },
  "_devurl": "https://github.com/hehta/reside",
  "_pkgdown": "https://hehta.github.io/RESIDE/",
  "_searchresults": 5,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/RESIDE.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hehta/reside",
  "_realowner": "hehta",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.2",
      "date": "2024-10-17"
    }
  ],
  "_exports": [
    "export_empty_cor_matrix",
    "export_marginal_distributions",
    "get_marginal_distributions",
    "import_cor_matrix",
    "import_marginal_distributions",
    "synthesise_data",
    "synthesize_data"
  ],
  "_datasets": [
    {
      "name": "IST",
      "title": "IST Dataset",
      "object": "IST",
      "class": [
        "data.frame"
      ],
      "fields": [
        "HOSPNUM",
        "RDELAY",
        "RCONSC",
        "SEX",
        "AGE",
        "RSLEEP",
        "RATRIAL",
        "RCT",
        "RVISINF",
        "RHEP24",
        "RASP3",
        "RSBP",
        "RDEF1",
        "RDEF2",
        "RDEF3",
        "RDEF4",
        "RDEF5",
        "RDEF6",
        "RDEF7",
        "RDEF8",
        "STYPE",
        "RDATE",
        "HOURLOCAL",
        "MINLOCAL",
        "DAYLOCAL",
        "RXASP",
        "RXHEP",
        "DASP14",
        "DASPLT",
        "DLH14",
        "DMH14",
        "DHH14",
        "ONDRUG",
        "DSCH",
        "DIVH",
        "DAP",
        "DOAC",
        "DGORM",
        "DSTER",
        "DCAA",
        "DHAEMD",
        "DCAREND",
        "DTHROMB",
        "DMAJNCH",
        "DMAJNCHD",
        "DMAJNCHX",
        "DSIDE",
        "DSIDED",
        "DSIDEX",
        "DDIAGISC",
        "DDIAGHA",
        "DDIAGUN",
        "DNOSTRK",
        "DNOSTRKX",
        "DRSISC",
        "DRSISCD",
        "DRSH",
        "DRSHD",
        "DRSUNK",
        "DRSUNKD",
        "DPE",
        "DPED",
        "DALIVE",
        "DALIVED",
        "DPLACE",
        "DDEAD",
        "DDEADD",
        "DDEADC",
        "DDEADX",
        "FDEAD",
        "FLASTD",
        "FDEADD",
        "FDEADC",
        "FDEADX",
        "FRECOVER",
        "FDENNIS",
        "FPLACE",
        "FAP",
        "FOAC",
        "FU1_RECD",
        "FU2_DONE",
        "COUNTRY",
        "CNTRYNUM",
        "FU1_COMP",
        "NCCODE",
        "CMPLASP",
        "CMPLHEP",
        "DIED",
        "TD",
        "EXPDD",
        "EXPD6",
        "EXPD14",
        "SET14D",
        "ID14",
        "OCCODE",
        "DEAD1",
        "DEAD2",
        "DEAD3",
        "DEAD4",
        "DEAD5",
        "DEAD6",
        "DEAD7",
        "DEAD8",
        "H14",
        "ISC14",
        "NK14",
        "STRK14",
        "HTI14",
        "PE14",
        "DVT14",
        "TRAN14",
        "NCB14"
      ],
      "rows": 19435,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "RESIDE-package",
      "title": "RESIDE: Rapid Easy Synthesis to Inform Data Extraction",
      "topics": [
        "RESIDE-package",
        "RESIDE"
      ]
    },
    {
      "page": "export_empty_cor_matrix",
      "title": "Export an empty correlation matrix",
      "topics": [
        "export_empty_cor_matrix"
      ]
    },
    {
      "page": "export_marginal_distributions",
      "title": "Export Marginal Distributions",
      "topics": [
        "export_marginal_distributions"
      ]
    },
    {
      "page": "get_marginal_distributions",
      "title": "Generate Marginal Distributions for a given data frame",
      "topics": [
        "get_marginal_distributions"
      ]
    },
    {
      "page": "import_cor_matrix",
      "title": "Import a correlation matrix",
      "topics": [
        "import_cor_matrix"
      ]
    },
    {
      "page": "import_marginal_distributions",
      "title": "Import Marginal Distributions",
      "topics": [
        "import_marginal_distributions"
      ]
    },
    {
      "page": "IST",
      "title": "IST Dataset",
      "topics": [
        "IST"
      ]
    },
    {
      "page": "print.RESIDE",
      "title": "print.RESIDE",
      "topics": [
        "print.RESIDE"
      ]
    },
    {
      "page": "synthesise_data",
      "title": "Synthesise data from marginal distributions",
      "topics": [
        "synthesise_data",
        "synthesize_data"
      ]
    }
  ],
  "_pkglogo": "https://github.com/hehta/reside/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/hehta/reside/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bestNormalize",
    "BH",
    "bigmemory",
    "bigmemory.sri",
    "butcher",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "crayon",
    "data.table",
    "diagram",
    "digest",
    "doParallel",
    "doRNG",
    "dplyr",
    "farver",
    "fastglm",
    "foreach",
    "Formula",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "hms",
    "ipred",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "LambertW",
    "lamW",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lobstr",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixcalc",
    "mvnfast",
    "nnet",
    "nortest",
    "numDeriv",
    "parallelly",
    "pbv",
    "pillar",
    "pkgconfig",
    "plyr",
    "prettyunits",
    "prodlim",
    "progress",
    "progressr",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "RDP",
    "recipes",
    "reshape2",
    "rlang",
    "rngtools",
    "rpart",
    "S7",
    "scales",
    "shape",
    "simstudy",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "exporting_marginal_distributions.Rmd",
      "filename": "exporting_marginal_distributions.html",
      "title": "Exporting Marginal Distributions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Obtaining Marginal Distributions",
        "Printing the Marginal Distributions Prior to Export",
        "Exporting Marginal Distributions",
        "Files created by export_marginal_distributions()"
      ],
      "created": "2024-10-18 14:01:06",
      "modified": "2024-10-18 14:01:06",
      "commits": 1
    },
    {
      "source": "importing_marginal_distributions.Rmd",
      "filename": "importing_marginal_distributions.html",
      "title": "Importing Marginal Distributions",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-10-10 15:21:59",
      "modified": "2024-10-10 15:21:59",
      "commits": 1
    },
    {
      "source": "synthesising_data.Rmd",
      "filename": "synthesising_data.html",
      "title": "Synthesising Data from Marginal Distributions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Without Correlations",
        "With correlations"
      ],
      "created": "2024-10-10 15:21:59",
      "modified": "2024-10-18 14:01:06",
      "commits": 3
    },
    {
      "source": "RESIDE.Rmd",
      "filename": "RESIDE.html",
      "title": "The RESIDE Package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Methods",
        "For TRE's",
        "Generating Marginal Distributions",
        "Exporting Marginal Distributions",
        "For End Users",
        "Importing Marginal Distributions",
        "Data Simulation",
        "Limitations",
        "Binary Variables",
        "Categorical Variables",
        "Correlations"
      ],
      "created": "2024-10-10 15:21:59",
      "modified": "2024-10-18 14:01:06",
      "commits": 3
    },
    {
      "source": "worked_example.Rmd",
      "filename": "worked_example.html",
      "title": "Worked Example Using the IST Dataset",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Setup",
        "Summarise original data",
        "Fit a cox model on the original data",
        "Get the marginal distributions",
        "Export the marginal distributions",
        "Reimport marginal distributions",
        "Synthesise data from marginal distributions (without correlations)",
        "Summarise the synthesised data",
        "Fit a cox model on the simulated data",
        "Synthesise data with correlations",
        "Fit a cox model on the simulated data with correlations"
      ],
      "created": "2024-10-18 14:01:06",
      "modified": "2024-10-18 14:01:06",
      "commits": 1
    }
  ],
  "_score": 4.3979400086720375,
  "_indexed": true,
  "_nocasepkg": "reside",
  "_universes": [
    "hehta",
    "ryanjfield"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-07-13T07:59:50.000Z",
      "distro": "resolute",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "https://r2.ropensci.org/5be86ac9804b138898af6d7a4a60ec8da60fd7b335c2bc49f1bcb1267a2a82f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/29233517646"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-07-13T08:00:03.000Z",
      "distro": "resolute",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "https://r2.ropensci.org/c7144bd4f4b0bb56183ed59db66c34ed60ca28596dd1802358d1c4d2d7e598d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/29233517646"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-07-13T07:59:50.000Z",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "https://r2.ropensci.org/0e7dc57999851e0d93a86c3e8586ab8e250710d7ebbf900dfed3c5582805947a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/29233517646"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-07-13T07:58:51.000Z",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "https://r2.ropensci.org/1c7d23637b4f8aa172959f0a42875780d07870e4e197384eded06744f323b056",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/29233517646"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-07-13T07:59:38.000Z",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "https://r2.ropensci.org/223b57aac895deab897a48025cb7744aa008aab883fb4d6a5a7a2d6c5453c320",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/29233517646"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-07-13T07:58:44.000Z",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "https://r2.ropensci.org/aa766c277f66cc1cb3de8127e2a429036d18fce0542888d3766209e0fe7f7b4e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/29233517646"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-07-13T07:58:48.000Z",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "https://r2.ropensci.org/be2c657e9f2db0dba8c13862216d245263fa9474a55cb5880935950fbe14cd94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/29233517646"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-07-13T07:58:41.000Z",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "https://r2.ropensci.org/599b307aecf638959ba5256fccf956d9a36590215ea59339ef0c5f4ff592b051",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/29233517646"
    }
  ]
}