{
  "_id": "6a104aa3acfb0bcc41c9fbae",
  "Package": "DisImpact",
  "Title": "Calculates Disproportionate Impact When Binary Success Data are\nDisaggregated by Subgroups",
  "Version": "0.0.22.9000",
  "Authors@R": "person(\"Vinh\", \"Nguyen\", email = \"nguyenvq714@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Implements methods for calculating disproportionate\nimpact: the percentage point gap, proportionality index, and\nthe 80% index. California Community Colleges Chancellor's\nOffice (2017).  Percentage Point Gap Method.\n<https://www.cccco.edu/-/media/CCCCO-Website/About-Us/Divisions/Digital-Innovation-and-Infrastructure/Research/Files/PercentagePointGapMethod2017.ashx>.\nCalifornia Community Colleges Chancellor's Office (2014).\nGuidelines for Measuring Disproportionate Impact in Equity\nPlans.\n<https://www.cccco.edu/-/media/CCCCO-Website/Files/DII/guidelines-for-measuring-disproportionate-impact-in-equity-plans-tfa-ada.pdf>.",
  "License": "GPL-3",
  "URL": "https://github.com/vinhdizzo/DisImpact",
  "BugReports": "https://github.com/vinhdizzo/DisImpact/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.1.2",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev xz-utils",
  "Repository": "https://vinhdizzo.r-universe.dev",
  "Date/Publication": "2022-10-10 17:37:21 UTC",
  "RemoteUrl": "https://github.com/vinhdizzo/disimpact",
  "RemoteRef": "HEAD",
  "RemoteSha": "9d0cc5ccd79e06acd3854365b7cf8edfb6991c9c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-10 08:08:17 UTC",
    "User": "root"
  },
  "Author": "Vinh Nguyen [aut, cre]",
  "Maintainer": "Vinh Nguyen <nguyenvq714@gmail.com>",
  "MD5sum": "4238102a88edba0a2023bbc528bd3736",
  "_user": "vinhdizzo",
  "_type": "src",
  "_file": "DisImpact_0.0.22.9000.tar.gz",
  "_fileid": "eb4b9b0abd5a1b38bae3ad175a99e626a8c67eb72b960cf9fe37aa2b263f2068",
  "_filesize": 1146634,
  "_sha256": "eb4b9b0abd5a1b38bae3ad175a99e626a8c67eb72b960cf9fe37aa2b263f2068",
  "_created": "2026-05-10T08:08:17.000Z",
  "_published": "2026-05-22T12:22:58.992Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77378481828,
      "time": 236,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902210873"
    },
    {
      "job": 77378481531,
      "time": 236,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902210834"
    },
    {
      "job": 77378482131,
      "time": 269,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902210280"
    },
    {
      "job": 77378481716,
      "time": 174,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902202575"
    },
    {
      "job": 77378481433,
      "time": 241,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902187831"
    },
    {
      "job": 77378481033,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160363890"
    },
    {
      "job": 77378481608,
      "time": 204,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902207552"
    },
    {
      "job": 77378481866,
      "time": 219,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902209063"
    },
    {
      "job": 77378481617,
      "time": 319,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902218801"
    }
  ],
  "_buildurl": "https://github.com/r-universe/vinhdizzo/actions/runs/25623595676",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/vinhdizzo/disimpact",
  "_commit": {
    "id": "9d0cc5ccd79e06acd3854365b7cf8edfb6991c9c",
    "author": "Vinh Nguyen <vnguyen216@ivc.edu>",
    "committer": "Vinh Nguyen <vnguyen216@ivc.edu>",
    "message": "Back to dev version\n",
    "time": 1665423441
  },
  "_maintainer": {
    "name": "Vinh Nguyen",
    "email": "nguyenvq714@gmail.com",
    "login": "nguyenvq714",
    "uuid": 107065495
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 0.8.5",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "fst",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "duckdb",
      "version": ">= 0.5.0",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.14.2",
      "role": "Imports"
    },
    {
      "package": "collapse",
      "role": "Imports"
    },
    {
      "package": "sets",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "prettydoc",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "forcats",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "vinhdizzo",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "vinhdizzo",
      "count": 163,
      "uuid": 114053
    },
    {
      "user": "nguyenvq714",
      "count": 11,
      "uuid": 107065495
    }
  ],
  "_userbio": {
    "uuid": 114053,
    "type": "user",
    "name": "Vinh Nguyen"
  },
  "_downloads": {
    "count": 275,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DisImpact"
  },
  "_devurl": "https://github.com/vinhdizzo/disimpact",
  "_searchresults": 17,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DisImpact.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/vinhdizzo/disimpact",
  "_realowner": "vinhdizzo",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2018-05-27"
    },
    {
      "version": "0.0.2",
      "date": "2018-06-16"
    },
    {
      "version": "0.0.3",
      "date": "2018-07-11"
    },
    {
      "version": "0.0.4",
      "date": "2019-04-24"
    },
    {
      "version": "0.0.5",
      "date": "2019-10-24"
    },
    {
      "version": "0.0.6",
      "date": "2020-03-25"
    },
    {
      "version": "0.0.7",
      "date": "2020-04-03"
    },
    {
      "version": "0.0.8",
      "date": "2020-04-28"
    },
    {
      "version": "0.0.9",
      "date": "2020-06-02"
    },
    {
      "version": "0.0.10",
      "date": "2020-08-10"
    },
    {
      "version": "0.0.11",
      "date": "2020-08-11"
    },
    {
      "version": "0.0.12",
      "date": "2020-08-12"
    },
    {
      "version": "0.0.13",
      "date": "2020-08-25"
    },
    {
      "version": "0.0.14",
      "date": "2020-09-19"
    },
    {
      "version": "0.0.15",
      "date": "2021-09-02"
    },
    {
      "version": "0.0.16",
      "date": "2022-02-18"
    },
    {
      "version": "0.0.17",
      "date": "2022-05-18"
    },
    {
      "version": "0.0.18",
      "date": "2022-06-07"
    },
    {
      "version": "0.0.19",
      "date": "2022-08-22"
    },
    {
      "version": "0.0.20",
      "date": "2022-09-29"
    },
    {
      "version": "0.0.21",
      "date": "2022-10-10"
    }
  ],
  "_exports": [
    "di_80_index",
    "di_calc_dt",
    "di_calc_sql",
    "di_iterate",
    "di_iterate_dt",
    "di_iterate_on_long",
    "di_iterate_sql",
    "di_ppg",
    "di_ppg_iterate",
    "di_prop_index",
    "ppg_moe",
    "surround_quote_if_needed"
  ],
  "_datasets": [
    {
      "name": "ssm_cohort",
      "title": "Long summarized disaggregated data set",
      "object": "ssm_cohort",
      "class": [
        "data.frame"
      ],
      "fields": [
        "cohort",
        "localeName",
        "academicYear",
        "metricID",
        "title",
        "description",
        "source",
        "categoryID",
        "categoryLabel",
        "disagg1",
        "subgroup1",
        "disagg2",
        "subgroup2",
        "value",
        "denom",
        "perc",
        "dataType",
        "missingFlag",
        "ferpaFlag",
        "X20"
      ],
      "rows": 5760,
      "table": true,
      "tojson": true
    },
    {
      "name": "student_equity",
      "title": "Fake data on student equity",
      "object": "student_equity",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Ethnicity",
        "Gender",
        "Cohort",
        "Transfer",
        "Cohort_Math",
        "Math",
        "Cohort_English",
        "English",
        "Ed_Goal",
        "College_Status",
        "Student_ID",
        "EthnicityFlag_Asian",
        "EthnicityFlag_Black",
        "EthnicityFlag_Hispanic",
        "EthnicityFlag_NativeAmerican",
        "EthnicityFlag_PacificIslander",
        "EthnicityFlag_White",
        "EthnicityFlag_Carribean",
        "EthnicityFlag_EastAsian",
        "EthnicityFlag_SouthEastAsian",
        "EthnicityFlag_SouthWestAsianNorthAfrican",
        "EthnicityFlag_AANAPI",
        "EthnicityFlag_Unknown",
        "EthnicityFlag_TwoorMoreRaces"
      ],
      "rows": 20000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "di_80_index",
      "title": "Calculate disproportionate impact per the 80% index",
      "topics": [
        "di_80_index"
      ]
    },
    {
      "page": "di_calc_dt",
      "title": "Calculates disproportionate impact using multiple methods for data stored in a data.table object.",
      "topics": [
        "di_calc_dt"
      ]
    },
    {
      "page": "di_calc_sql",
      "title": "Generate SQL code that calculates disproportionate impact using multiple methods for a specified table.",
      "topics": [
        "di_calc_sql"
      ]
    },
    {
      "page": "di_iterate",
      "title": "Iteratively calculate disproportionate impact using multiple method for many variables.",
      "topics": [
        "di_iterate"
      ]
    },
    {
      "page": "di_iterate_dt",
      "title": "Iteratively calculate disproportionate impact using multiple method for many variables, using data.table and collapse.",
      "topics": [
        "di_iterate_dt"
      ]
    },
    {
      "page": "di_iterate_on_long",
      "title": "Iteratively calculate disproportionate impact using multiple methods for a long and summarized data set",
      "topics": [
        "di_iterate_on_long"
      ]
    },
    {
      "page": "di_iterate_sql",
      "title": "Iteratively calculate disproportionate impact using multiple methods for many variables, using SQL.",
      "topics": [
        "di_iterate_sql"
      ]
    },
    {
      "page": "di_ppg",
      "title": "Calculate disproportionate impact per the percentage point gap (PPG) method.",
      "topics": [
        "di_ppg"
      ]
    },
    {
      "page": "di_ppg_iterate",
      "title": "Iteratively calculate disproportionate impact via the percentage point gap (PPG) method for many variables.",
      "topics": [
        "di_ppg_iterate"
      ]
    },
    {
      "page": "di_prop_index",
      "title": "Calculate disproportionate impact per the proportionality index (PI) method.",
      "topics": [
        "di_prop_index"
      ]
    },
    {
      "page": "ppg_moe",
      "title": "Margin of error for the PPG",
      "topics": [
        "ppg_moe"
      ]
    },
    {
      "page": "ssm_cohort",
      "title": "Long summarized disaggregated data set",
      "topics": [
        "ssm_cohort"
      ]
    },
    {
      "page": "student_equity",
      "title": "Fake data on student equity",
      "topics": [
        "student_equity"
      ]
    },
    {
      "page": "surround_quote_if_needed",
      "title": "Helper function: Surround character values with double quotes if not present.",
      "topics": [
        "surround_quote_if_needed"
      ]
    }
  ],
  "_readme": "https://github.com/vinhdizzo/disimpact/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "collapse",
    "cpp11",
    "data.table",
    "DBI",
    "dplyr",
    "duckdb",
    "fst",
    "fstcore",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "sets",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "Tutorial.Rmd",
      "filename": "Tutorial.html",
      "title": "DisImpact Tutorial",
      "author": "Vinh Nguyen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Install Package",
        "Load Packages",
        "Load toy student equity data",
        "Percentage point gap (PPG) method",
        "Proportionality index method",
        "80% index method",
        "When dealing with a non-success variable like drop-out or probation",
        "Transformations on the fly",
        "Calculate DI for many variables and groups",
        "Appendix: R and R Package Versions"
      ],
      "created": "2018-05-21 22:10:28",
      "modified": "2021-08-31 21:08:12",
      "commits": 22
    },
    {
      "source": "DI-On-Long-Summarized-Data.Rmd",
      "filename": "DI-On-Long-Summarized-Data.html",
      "title": "Disproportionate Impact (DI) Calculations on Long, Summarized Data Sets",
      "author": "Vinh Nguyen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Load DisImpact and toy data set",
        "Select relevant rows",
        "Execute di_iterate_on_long on a data set",
        "Second layer of disaggregation / Intersectionality",
        "Custom Reference Groups",
        "Additional Information",
        "Appendix: R and R Package Versions"
      ],
      "created": "2022-02-18 00:40:38",
      "modified": "2022-05-17 22:30:02",
      "commits": 2
    },
    {
      "source": "Intersectionality.Rmd",
      "filename": "Intersectionality.html",
      "title": "Example: Intersectionality",
      "author": "Vinh Nguyen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background on Intersectionality",
        "Intersectionality Using DisImpact",
        "Visualizing in Dashboard Platform",
        "Appendix: R and R Package Versions"
      ],
      "created": "2021-07-22 23:34:00",
      "modified": "2021-08-31 21:08:12",
      "commits": 5
    },
    {
      "source": "Multi-Ethnicity.Rmd",
      "filename": "Multi-Ethnicity.html",
      "title": "Example: Multi-Ethnicity Categorization",
      "author": "Vinh Nguyen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background on Multi-Ethnicity Categorization",
        "Multi-Ethnicity Data Format",
        "Multi-Ethnicity Example Data Set",
        "Analysis of Multi-Ethnicity Data Using DisImpact",
        "Visualizing in Dashboard Platform",
        "Appendix: R and R Package Versions"
      ],
      "created": "2021-07-21 22:10:21",
      "modified": "2022-06-07 16:23:33",
      "commits": 11
    },
    {
      "source": "Scaling-DI-Calculations.Rmd",
      "filename": "Scaling-DI-Calculations.html",
      "title": "Scaling Disproportionate Impact (DI) Calculations for Interactive Visualizations",
      "author": "Vinh Nguyen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Load DisImpact and toy data set",
        "Execute di_iterate on a data set",
        "Explore resulting summary data set",
        "Visualization (emulating dashboard features)",
        "What is the difference between group_vars and scenario_repeat_by_vars?",
        "Understanding the default parameters in di_iterate, and overriding them",
        "Passing a summarized data set to data and using weight_var",
        "Suppress non-disaggregated results using include_non_disagg_results",
        "PPG reference groups and other parameters",
        "Proportionality index DI threshold",
        "80% index reference groups and DI threshold",
        "Multiple PPG or DI parameter scenarios in results",
        "FERPA block / suppression",
        "Suppress / disable \"Joining, by\" messages",
        "Exclude specific scenarios generated by the use of scenario_repeat_by_vars",
        "Parallel execution",
        "di_iterate_dt: efficient in-memory DI calculations using data.table",
        "di_iterate_sql: DI calculations on a database table using the database's SQL engine, especially useful for larger-than-memory data",
        "Appendix: R and R Package Versions"
      ],
      "created": "2020-08-10 18:06:48",
      "modified": "2022-09-29 15:11:21",
      "commits": 26
    }
  ],
  "_score": 5.4065401804339555,
  "_indexed": true,
  "_nocasepkg": "disimpact",
  "_universes": [
    "vinhdizzo",
    "nguyenvq714"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.22.9000",
      "date": "2026-05-10T08:10:36.000Z",
      "distro": "noble",
      "commit": "9d0cc5ccd79e06acd3854365b7cf8edfb6991c9c",
      "fileid": "5a219200735e472729342834e7fb15ffc0efcbdfdd796c7ff880bec5dffbebe3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vinhdizzo/actions/runs/25623595676"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.22.9000",
      "date": "2026-05-10T08:10:34.000Z",
      "distro": "noble",
      "commit": "9d0cc5ccd79e06acd3854365b7cf8edfb6991c9c",
      "fileid": "03f9249faef3727b56430c3afbae49b4e814ba5f6db641e19d1dea21c90e793f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vinhdizzo/actions/runs/25623595676"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.22.9000",
      "date": "2026-05-10T08:10:54.000Z",
      "commit": "9d0cc5ccd79e06acd3854365b7cf8edfb6991c9c",
      "fileid": "a6a8219bc0e4f86d5945167775b9a1cd5b1a64fd9bd3a33130383f2704bd73ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vinhdizzo/actions/runs/25623595676"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.22.9000",
      "date": "2026-05-10T08:10:09.000Z",
      "commit": "9d0cc5ccd79e06acd3854365b7cf8edfb6991c9c",
      "fileid": "adca63f86a01abdb1bd4db976359c51bbe836841f7bb1b53d8c003a4897d45fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vinhdizzo/actions/runs/25623595676"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.22.9000",
      "date": "2026-05-10T08:09:38.000Z",
      "commit": "9d0cc5ccd79e06acd3854365b7cf8edfb6991c9c",
      "fileid": "eaf5ac187140a1239c2318591b4b0626c425fa7d50ba68c0f7e95f7b2e00dee0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vinhdizzo/actions/runs/25623595676"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.22.9000",
      "date": "2026-05-10T08:09:44.000Z",
      "commit": "9d0cc5ccd79e06acd3854365b7cf8edfb6991c9c",
      "fileid": "e3447a2bd850a44bb528e2d06d8baca52ac09a87d35859363b8bdff8bc8378a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vinhdizzo/actions/runs/25623595676"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.22.9000",
      "date": "2026-05-10T08:11:29.000Z",
      "commit": "9d0cc5ccd79e06acd3854365b7cf8edfb6991c9c",
      "fileid": "0875582db342234f276b067441945e6cb358951acb4120f387b068b9ab671ad2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vinhdizzo/actions/runs/25623595676"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.22.9000",
      "date": "2026-05-22T12:22:41.000Z",
      "commit": "9d0cc5ccd79e06acd3854365b7cf8edfb6991c9c",
      "fileid": "19c7562a495354b86a00064fc2ae73bb4dce0c92d29715046b3b84ffa0def638",
      "status": "success",
      "buildurl": "https://github.com/r-universe/vinhdizzo/actions/runs/25623595676"
    }
  ]
}