{
  "_id": "6ac78c8cde46216d5edd20c2",
  "Package": "RESIDE",
  "Title": "Rapid Easy Synthesis to Inform Data Extraction",
  "Version": "0.4.0",
  "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\", , \"claudia.geue@glasgow.ac.uk\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0003-2243-0733\")))",
  "Description": "Assists researchers with planning analysis prior to\nobtaining data from Trusted Research Environments (TREs), also\nknown as safe havens. Marginal distributions of one or more\nrelated data frames can be exported from a TRE and imported\nelsewhere, where data can be synthesised from them, with or\nwithout user specified correlations, by sampling from a\nmultivariate cumulative distribution (copula). The\nInternational Stroke Trial (IST) is included as an example\ndataset under the ODC-By licence, Sandercock et al. (2011)\n<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)",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "URL": "https://hehta.github.io/RESIDE/",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://hehta.r-universe.dev",
  "Date/Publication": "2026-09-30 15:16:04 UTC",
  "RemoteUrl": "https://github.com/hehta/reside",
  "RemoteRef": "HEAD",
  "RemoteSha": "df35ebb66e2195943238d14537963dd828843494",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-08 12:23:47 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.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/ba118cd6e56e9cd620fc64a5470141e8ffcb656a33aeebc19aec1634c2fbbd54",
  "_filesize": 737431,
  "_sha256": "ba118cd6e56e9cd620fc64a5470141e8ffcb656a33aeebc19aec1634c2fbbd54",
  "_expires": "2027-01-16T12:28:58.000Z",
  "_created": "2026-10-08T12:23:47.000Z",
  "_published": "2026-10-08T12:29:00.482Z",
  "_buildurl": "https://github.com/r-universe/hehta/actions/runs/37776106763",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113308900975,
      "time": 221,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11549929808"
    },
    {
      "job": 113308900922,
      "time": 179,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11549529790"
    },
    {
      "job": 113308901203,
      "time": 122,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11550361458"
    },
    {
      "job": 113308901056,
      "time": 174,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11549664977"
    },
    {
      "job": 113307408867,
      "time": 224,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11549599146"
    },
    {
      "job": 113308901076,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11550501007"
    },
    {
      "job": 113308901214,
      "time": 199,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11549684996"
    },
    {
      "job": 113308900956,
      "time": 124,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11550730933"
    },
    {
      "job": 113308901019,
      "time": 197,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11549454835"
    }
  ],
  "_upstream": "https://github.com/hehta/reside",
  "_commit": {
    "id": "df35ebb66e2195943238d14537963dd828843494",
    "author": "Ryan J Field <57794045+RyanJField@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #27 from hehta/dev\n\nDev",
    "time": 1790781364
  },
  "_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": "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"
    },
    {
      "package": "pharmaversesdtm",
      "role": "Suggests"
    }
  ],
  "_owner": "hehta",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-40",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.4.0",
      "date": "2026-09-30"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "ryanjfield",
      "count": 147,
      "uuid": 57794045
    }
  ],
  "_userbio": {
    "uuid": 133118444,
    "type": "organization",
    "name": "Heath Economics and Health Technology Assesment",
    "followers": 6,
    "description": "HEHTA - SHW - University of Glasgow"
  },
  "_downloads": {
    "count": 308,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RESIDE"
  },
  "_devurl": "https://github.com/hehta/reside",
  "_pkgdown": "https://hehta.github.io/RESIDE/",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/RESIDE.html"
  ],
  "_homeurl": "https://github.com/hehta/reside",
  "_realowner": "hehta",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.2",
      "date": "2024-10-17"
    },
    {
      "version": "0.4.0",
      "date": "2026-09-30"
    }
  ],
  "_exports": [
    "correlation",
    "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": "correlation",
      "title": "Create a correlation object",
      "topics": [
        "correlation"
      ]
    },
    {
      "page": "export_empty_cor_matrix",
      "title": "Export an empty correlation matrix (removed)",
      "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 (removed)",
      "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": "print.summary.RESIDE",
      "title": "print.summary.RESIDE",
      "topics": [
        "print.summary.RESIDE"
      ]
    },
    {
      "page": "summary.RESIDE",
      "title": "summary.RESIDE",
      "topics": [
        "summary.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",
    "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",
        "Categorical variables",
        "Multiple tables"
      ],
      "created": "2024-10-10 15:21:59",
      "modified": "2026-09-30 15:16:04",
      "commits": 4
    },
    {
      "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": "pharmaverse_example.Rmd",
      "filename": "pharmaverse_example.html",
      "title": "Worked Example Using Multiple Tables",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Setup",
        "Summarise original data",
        "Fit a logistic regression model on the original data",
        "Get the marginal distributions",
        "Export the marginal distributions",
        "Reimport marginal distributions",
        "Synthesise data from marginal distributions (without correlations)",
        "Fit a logistic regression model on the synthesised data",
        "Synthesise data with correlations",
        "Fit a logistic regression model on the synthesised data with correlations"
      ],
      "created": "2026-09-30 15:16:04",
      "modified": "2026-09-30 15:16:04",
      "commits": 1
    },
    {
      "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": "2026-09-30 15:16:04",
      "commits": 2
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "reside",
  "_universes": [
    "hehta",
    "ryanjfield"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-08T12:26:33.000Z",
      "distro": "resolute",
      "commit": "df35ebb66e2195943238d14537963dd828843494",
      "fileid": "https://r2.ropensci.org/62f6b773d146fbbb7bb13f29cbd064b65781b8754fcaec1e45778866cdf55ce8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/37776106763"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-08T12:26:16.000Z",
      "distro": "resolute",
      "commit": "df35ebb66e2195943238d14537963dd828843494",
      "fileid": "https://r2.ropensci.org/9c4641f41c3fbb533c769d77b52aac83296b1b325b345ce4ad77e8dacbb1d34c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/37776106763"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-10-08T12:26:57.000Z",
      "commit": "df35ebb66e2195943238d14537963dd828843494",
      "fileid": "https://r2.ropensci.org/9c2329873769868f956fb1273f42e528af50c2491c83d5aa08c5f23fc854766b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/37776106763"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-10-08T12:27:28.000Z",
      "commit": "df35ebb66e2195943238d14537963dd828843494",
      "fileid": "https://r2.ropensci.org/d07551c091e5e8c4e49b05a0ea8cc04f23bc784eb52999f1a431d5f7bb59695b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/37776106763"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-10-08T12:26:45.000Z",
      "commit": "df35ebb66e2195943238d14537963dd828843494",
      "fileid": "https://r2.ropensci.org/09c9353db5dc9c88e02da0e316e83c71e4cef3b1733727b58d13fb13ba95d4d9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/37776106763"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-08T12:25:25.000Z",
      "commit": "df35ebb66e2195943238d14537963dd828843494",
      "fileid": "https://r2.ropensci.org/1eb7ce8cd7c8da36adcc30f81b9745ed0a1907aa3bf5e8250f02468e7280ad06",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/37776106763"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-08T12:25:08.000Z",
      "commit": "df35ebb66e2195943238d14537963dd828843494",
      "fileid": "https://r2.ropensci.org/5e280978c26122b2c5504174c039f1f5a6359901d89961b8e71bf2ead381eea9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/37776106763"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-08T12:25:32.000Z",
      "commit": "df35ebb66e2195943238d14537963dd828843494",
      "fileid": "https://r2.ropensci.org/2b11e69e358f1676a0c2eeb7d2226ec1b9f463fdc70ed1179e60f2640eaee6bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hehta/actions/runs/37776106763"
    }
  ]
}