{
  "_id": "6a1eeee5b401979e73412ab3",
  "Package": "stratamatch",
  "Type": "Package",
  "Date": "2022-03-30",
  "Title": "Stratification and Matching for Large Observational Data Sets",
  "Version": "0.1.9",
  "Authors@R": "c(\nperson(\"Rachael C.\", \"Aikens\", email = \"rockyaikens@gmail.com\",\nrole = c(\"aut\", \"cre\")),\nperson(\"Joseph\", \"Rigdon\",\nrole = c(\"aut\")),\nperson(\"Justin\", \"Lee\",\nrole = c(\"aut\")),\nperson(\"Michael\", \"Baiocchi\", email = \"baiocchi@stanford.edu\",\nrole = c(\"aut\")),\nperson(\"Jonathan\", \"Chen\", email = \"jonc101@stanford.edu\",\nrole = c(\"aut\"))\n)",
  "Maintainer": "Rachael C. Aikens <rockyaikens@gmail.com>",
  "BugReports": "https://github.com/raikens1/stratamatch/issues",
  "Description": "A pilot matching design to automatically stratify and\nmatch large datasets.  The manual_stratify() function allows\nusers to manually stratify a dataset based on categorical\nvariables of interest, while the auto_stratify() function does\nautomatically by allocating a held-aside (pilot) data set,\nfitting a prognostic score (see Hansen (2008)\n<doi:10.1093/biomet/asn004>) on the pilot set, and stratifying\nthe data set based on prognostic score quantiles.  The\nstrata_match() function then does optimal matching of the data\nset in parallel within strata.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://github.com/raikens1/stratamatch",
  "RoxygenNote": "7.1.2",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-19 08:47:55 UTC",
    "User": "root"
  },
  "Author": "Rachael C. Aikens [aut, cre], Joseph Rigdon [aut], Justin Lee\n[aut], Michael Baiocchi [aut], Jonathan Chen [aut]",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://raikens1.r-universe.dev",
  "Date/Publication": "2022-03-31 05:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/stratamatch",
  "RemoteRef": "HEAD",
  "RemoteSha": "6f51f1b48af45207ad2537a63e224f7ae5f3caa4",
  "MD5sum": "dec7f3bfb33b7a0c98bfe490f04327dc",
  "_user": "raikens1",
  "_type": "src",
  "_file": "stratamatch_0.1.9.tar.gz",
  "_fileid": "4104237c8923734d4eb0d84c5bc2ede571e13434d84885f41522e8cff9ef9052",
  "_filesize": 1517444,
  "_sha256": "4104237c8923734d4eb0d84c5bc2ede571e13434d84885f41522e8cff9ef9052",
  "_created": "2026-05-19T08:47:55.000Z",
  "_published": "2026-06-02T14:55:33.901Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79100597642,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7078949755"
    },
    {
      "job": 79100598152,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078944049"
    },
    {
      "job": 79100598558,
      "time": 170,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7078945866"
    },
    {
      "job": 79100597691,
      "time": 188,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078951746"
    },
    {
      "job": 79100596304,
      "time": 224,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078896646"
    },
    {
      "job": 79100596736,
      "time": 149,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361340396"
    },
    {
      "job": 79100597576,
      "time": 111,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7078934480"
    },
    {
      "job": 79100597580,
      "time": 134,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7078942662"
    },
    {
      "job": 79100598217,
      "time": 114,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078934914"
    }
  ],
  "_buildurl": "https://github.com/r-universe/raikens1/actions/runs/26086364683",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/stratamatch",
  "_commit": {
    "id": "6f51f1b48af45207ad2537a63e224f7ae5f3caa4",
    "author": "Rachael C. Aikens <rockyaikens@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.9\n",
    "time": 1648702802
  },
  "_maintainer": {
    "name": "Rachael C. Aikens",
    "email": "rockyaikens@gmail.com",
    "login": "raikens1",
    "description": "I'm a statistician at Mathematica Policy Research in the Health Unit.  I specialize in observational methods for causal inference, measurement and sampling.  ",
    "uuid": 20092360
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 0.8.3",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "version": ">= 4.2-0",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "version": ">= 1.5",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "survival",
      "version": ">= 2.44.1.1",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "optmatch",
      "version": ">= 0.9-11",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "glmnet",
      "version": ">= 4.0",
      "role": "Suggests"
    },
    {
      "package": "randomForest",
      "version": ">= 4.6-14",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "raikens1",
      "count": 10,
      "uuid": 20092360
    }
  ],
  "_userbio": {
    "uuid": 20092360,
    "type": "user",
    "name": "Rocky Aikens",
    "description": "I'm a statistician at Mathematica Policy Research in the Health Unit.  I specialize in observational methods for causal inference, measurement and sampling.  "
  },
  "_downloads": {
    "count": 487,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stratamatch"
  },
  "_devurl": "https://github.com/raikens1/stratamatch",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/stratamatch.html",
    "manual.pdf"
  ],
  "_realowner": "raikens1",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-10-24"
    },
    {
      "version": "0.1.1",
      "date": "2019-11-06"
    },
    {
      "version": "0.1.2",
      "date": "2019-11-22"
    },
    {
      "version": "0.1.3",
      "date": "2020-01-14"
    },
    {
      "version": "0.1.4",
      "date": "2020-02-19"
    },
    {
      "version": "0.1.5",
      "date": "2020-04-09"
    },
    {
      "version": "0.1.6",
      "date": "2021-01-08"
    },
    {
      "version": "0.1.7",
      "date": "2021-05-26"
    },
    {
      "version": "0.1.8",
      "date": "2022-03-02"
    },
    {
      "version": "0.1.9",
      "date": "2022-03-31"
    }
  ],
  "_exports": [
    "auto_stratify",
    "extract_cut_points",
    "is.auto_strata",
    "is.manual_strata",
    "is.strata",
    "make_match_distances",
    "make_sample_data",
    "manual_stratify",
    "split_pilot_set",
    "strata_match"
  ],
  "_datasets": [
    {
      "name": "ICU_data",
      "title": "Demographics and comorbidities of 10,157 ICU patients",
      "object": "ICU_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "patid",
        "Birth.preTimeDays",
        "Female.pre",
        "RaceAsian.pre",
        "RaceUnknown.pre",
        "RaceOther.pre",
        "RaceBlack.pre",
        "RacePacificIslander.pre",
        "RaceNativeAmerican.pre",
        "self_pay",
        "all_latinos",
        "DNR",
        "surgicalTeam"
      ],
      "rows": 10157,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "auto_stratify",
      "title": "Auto Stratify",
      "topics": [
        "auto_stratify"
      ]
    },
    {
      "page": "extract_cut_points",
      "title": "Extract cutoffs between strata",
      "topics": [
        "extract_cut_points"
      ]
    },
    {
      "page": "extract_cut_points.auto_strata",
      "title": "Extract cutoffs between strata",
      "topics": [
        "extract_cut_points.auto_strata"
      ]
    },
    {
      "page": "ICU_data",
      "title": "Demographics and comorbidities of 10,157 ICU patients",
      "topics": [
        "ICU_data"
      ]
    },
    {
      "page": "is.auto_strata",
      "title": "Checks 'auto_strata' class",
      "topics": [
        "is.auto_strata"
      ]
    },
    {
      "page": "is.manual_strata",
      "title": "Checks 'manual_strata' class",
      "topics": [
        "is.manual_strata"
      ]
    },
    {
      "page": "is.strata",
      "title": "Checks 'strata' class",
      "topics": [
        "is.strata"
      ]
    },
    {
      "page": "make_match_distances",
      "title": "Make match distances within strata",
      "topics": [
        "make_match_distances"
      ]
    },
    {
      "page": "make_sample_data",
      "title": "Make sample data",
      "topics": [
        "make_sample_data"
      ]
    },
    {
      "page": "manual_stratify",
      "title": "Manual Stratify",
      "topics": [
        "manual_stratify"
      ]
    },
    {
      "page": "plot.auto_strata",
      "title": "Plot method for 'auto_strata' object",
      "topics": [
        "plot.auto_strata"
      ]
    },
    {
      "page": "plot.manual_strata",
      "title": "Plot method for 'manual_strata' object",
      "topics": [
        "plot.manual_strata"
      ]
    },
    {
      "page": "print.auto_strata",
      "title": "Print Auto Strata",
      "topics": [
        "print.auto_strata"
      ]
    },
    {
      "page": "print.manual_strata",
      "title": "Print Manual Strata",
      "topics": [
        "print.manual_strata"
      ]
    },
    {
      "page": "split_pilot_set",
      "title": "Split data into pilot and analysis sets",
      "topics": [
        "split_pilot_set"
      ]
    },
    {
      "page": "strata_match",
      "title": "Strata Match",
      "topics": [
        "strata_match"
      ]
    },
    {
      "page": "stratamatch",
      "title": "stratamatch: stratify and match large data sets",
      "topics": [
        "stratamatch"
      ]
    },
    {
      "page": "summary.strata",
      "title": "Summary for strata object",
      "topics": [
        "summary.strata"
      ]
    }
  ],
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "memoise",
    "mime",
    "nnet",
    "pillar",
    "pkgconfig",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "Advanced_functionality.Rmd",
      "filename": "Advanced_functionality.html",
      "title": "Advanced Functionality",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Set up",
        "Splitting the pilot set",
        "Fitting the prognostic model",
        "Outcomes: Binary or Continuous",
        "A lasso",
        "An elastic net",
        "A random forest",
        "Alternative matching schemes",
        "Distance measure: Mahalanobis Distance",
        "Matching procedure: Full Matching",
        "Matching with other software",
        "References"
      ],
      "created": "2021-05-26 03:20:02",
      "modified": "2022-03-02 08:00:02",
      "commits": 2
    },
    {
      "source": "Intro_to_stratamatch.Rmd",
      "filename": "Intro_to_stratamatch.html",
      "title": "Introduction to stratamatch",
      "author": "Rachael C. Aikens",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Contents",
        "Introduction and Background",
        "How stratamatch Works",
        "Generating an Example Data Set",
        "How to Stratify a Data Set",
        "Manual Stratification",
        "Automatic Stratification",
        "A note on splitting the pilot set",
        "Alternative methods for automatic stratification.",
        "Diagnostics for Stratified Data Sets",
        "Strata Tables",
        "Issue Tables",
        "Plots",
        "Size-Ratio Plots",
        "Propensity Score Histograms",
        "Assignment-Control Plots for Automatically Stratified Data",
        "Prognostic Model Plots for Automatically Stratified Data",
        "Prognostic Model Diagnostics for Automatically Stratified Data",
        "Matching Stratified Data",
        "References"
      ],
      "created": "2019-10-24 08:50:02",
      "modified": "2022-03-31 05:00:02",
      "commits": 7
    }
  ],
  "_score": 2.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "stratamatch",
  "_universes": [
    "raikens1"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-05-19T08:50:13.000Z",
      "distro": "noble",
      "commit": "6f51f1b48af45207ad2537a63e224f7ae5f3caa4",
      "fileid": "0e8e81a7faec27ac37555e3d8c7373894abfabf2236927de193b5faafdf32f21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raikens1/actions/runs/26086364683"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.9",
      "date": "2026-05-19T08:50:00.000Z",
      "distro": "noble",
      "commit": "6f51f1b48af45207ad2537a63e224f7ae5f3caa4",
      "fileid": "0c943fea98e4826b7f18732b205cdd1ad9416092a657c0279b37180167262bdc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raikens1/actions/runs/26086364683"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-05-19T08:50:15.000Z",
      "commit": "6f51f1b48af45207ad2537a63e224f7ae5f3caa4",
      "fileid": "c7a114dbf1c991b61e90bafbaafb779be6dec94276ef0084c54194cebd7091ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raikens1/actions/runs/26086364683"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.9",
      "date": "2026-05-19T08:50:13.000Z",
      "commit": "6f51f1b48af45207ad2537a63e224f7ae5f3caa4",
      "fileid": "aface6c597d4772ec07db33550921d41cb7b972e713628b430e8f3df4cb578c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raikens1/actions/runs/26086364683"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-05-19T08:49:25.000Z",
      "commit": "6f51f1b48af45207ad2537a63e224f7ae5f3caa4",
      "fileid": "3942d4394691562b867cf7ab30aaea1ee2d60066de49c45f64448d0cc48c7305",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raikens1/actions/runs/26086364683"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-05-19T08:49:49.000Z",
      "commit": "6f51f1b48af45207ad2537a63e224f7ae5f3caa4",
      "fileid": "805fb221dbca6b2500d80a3910026354ce7ee788a821eaa4ca2294079025e735",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raikens1/actions/runs/26086364683"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.9",
      "date": "2026-05-19T08:49:18.000Z",
      "commit": "6f51f1b48af45207ad2537a63e224f7ae5f3caa4",
      "fileid": "ac439b6ace548311f8fd700c9acf6d6e916615211003fb025e467ea674b03722",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raikens1/actions/runs/26086364683"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.9",
      "date": "2026-06-02T14:55:00.000Z",
      "commit": "6f51f1b48af45207ad2537a63e224f7ae5f3caa4",
      "fileid": "1e88a4deb53983864de876b646be197c9dff55e7d9da4963661cf39f0ea1b01b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/raikens1/actions/runs/26086364683"
    }
  ]
}