{
  "_id": "6a101e09acfb0bcc41c8a838",
  "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-05-14 07:40:18 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>",
  "MD5sum": "c59d2a8b6fa8bbf2d3faffd2f808fc23",
  "_user": "hehta",
  "_type": "src",
  "_file": "RESIDE_0.3.3.tar.gz",
  "_fileid": "9ee8d9e83805cdaad28fe1dc0e1cacaf1f1d1bd75cba4e69f68955a95245939b",
  "_filesize": 702394,
  "_sha256": "9ee8d9e83805cdaad28fe1dc0e1cacaf1f1d1bd75cba4e69f68955a95245939b",
  "_created": "2026-05-14T07:40:18.000Z",
  "_published": "2026-05-22T09:12:41.124Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77350251941,
      "time": 227,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6989642591"
    },
    {
      "job": 77350252231,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989636940"
    },
    {
      "job": 77350252313,
      "time": 214,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6989632049"
    },
    {
      "job": 77350252060,
      "time": 190,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989624690"
    },
    {
      "job": 77350251179,
      "time": 225,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989585379"
    },
    {
      "job": 77350251145,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156966765"
    },
    {
      "job": 77350251977,
      "time": 154,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6989624050"
    },
    {
      "job": 77350252251,
      "time": 168,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6989626855"
    },
    {
      "job": 77350251744,
      "time": 159,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989625090"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hehta/actions/runs/25848074278",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 57794045
  },
  "_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",
    "description": "HEHTA - SHW - University of Glasgow"
  },
  "_downloads": {
    "count": 179,
    "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.0",
  "_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-05-14T07:43:25.000Z",
      "distro": "noble",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "79eb300a6c154a523c7db0e48656116f4c95368dd8e4baff0a971085d3783e90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/25848074278"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-05-14T07:43:07.000Z",
      "distro": "noble",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "39aeb3dd65dd78ca3d8f9b3bbe821296e62de2307d5aa104423f30a9da0d9da1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/25848074278"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-05-14T07:42:57.000Z",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "1cc0f16d4125ac32231b910859d1931149d223e888ff49a95fd2b9c217f0a9b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/25848074278"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-05-14T07:42:25.000Z",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "f9f148cb54ebae25a9236fef4443ccc5a9a1b41c88bb46ce5ac346b9d14acab5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/25848074278"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-14T07:42:02.000Z",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "478e7713adc5747dce2ee5526747b4c8708c939b97c7f7008d0f164fec9ffe2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/25848074278"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-14T07:42:04.000Z",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "c646feb9a8db1a448889ae3d6e49ae8f2ef5c052e8c23feb99d914f3aed864a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/25848074278"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-14T07:42:02.000Z",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "6b6e67d92476cca3f71cd59c39839df73daa54b8ddc63e268a529bc2e2993c1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/25848074278"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-05-22T09:12:19.000Z",
      "commit": "8e76733ecff3a89f44739a4fa21bf929ac802002",
      "fileid": "5ea2f09efa722e14e3587ab98565f6416513b0a46d715766d9f82e10c4394ba4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/25848074278"
    }
  ]
}