{
  "_id": "6ad753244b18b90089999ccc",
  "Package": "fixes",
  "Type": "Package",
  "Title": "Staggered DiD Tools: Event Studies and ATT Aggregation",
  "Version": "0.12.0",
  "Date": "2026-07-05",
  "Authors@R": "c(\nperson(\n\"Yosuke\", \"Abe\",\nemail = \"yosuke.abe0507@gmail.com\",\nrole = c(\"aut\", \"cre\")\n)\n)",
  "Description": "Provides tools for difference-in-differences (DiD)\nestimation and visualization with staggered adoption. Includes\nrun_es() for event-study curves (dynamic effects by relative\ntime) and calc_att() for aggregated ATT estimation (overall, by\ncohort, by calendar time). Supports multiple modern estimators:\nCallaway-Sant'Anna (2021), Sun-Abraham (2021),\nBorusyak-Jaravel-Spiess (2024), Wooldridge TWM, and Deb et al.\nFLEX.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/yo5uke/fixes, https://yo5uke.com/fixes/",
  "BugReports": "https://github.com/yo5uke/fixes/issues",
  "Config/roxygen2/version": "8.0.0",
  "Config/roxygen2/markdown": "TRUE",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-20 11:33:01 UTC",
    "User": "root"
  },
  "Author": "Yosuke Abe [aut, cre]",
  "Maintainer": "Yosuke Abe <yosuke.abe0507@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-04 16:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/fixes",
  "RemoteRef": "HEAD",
  "RemoteSha": "cca8a41479d29b223149ffd519c431f93a00c9ea",
  "_user": "cran",
  "_type": "src",
  "_file": "fixes_0.12.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/54afe0f59b01c8e5641f1fcffc9b5dcad04f355c70d32a344bb4b10927baaa10",
  "_filesize": 2023011,
  "_sha256": "54afe0f59b01c8e5641f1fcffc9b5dcad04f355c70d32a344bb4b10927baaa10",
  "_expires": "2027-01-28T11:40:18.000Z",
  "_created": "2026-10-20T11:33:01.000Z",
  "_published": "2026-10-20T11:40:20.443Z",
  "_upstream": "https://github.com/cran/fixes",
  "_status": "success",
  "_maintainer": {
    "name": "Yosuke Abe",
    "email": "yosuke.abe0507@gmail.com",
    "login": "yo5uke",
    "bluesky": "@5uke.bsky.social",
    "twitter": "@5uke_y",
    "description": "",
    "uuid": 141737272
  },
  "_jobs": [
    {
      "job": 118604518169,
      "time": 166,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12261947027"
    },
    {
      "job": 118604518355,
      "time": 259,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12261892221"
    },
    {
      "job": 118604518405,
      "time": 154,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12260773413"
    },
    {
      "job": 118604518456,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12261572276"
    },
    {
      "job": 118602448259,
      "time": 313,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12261277198"
    },
    {
      "job": 118604518229,
      "time": 177,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12262121490"
    },
    {
      "job": 118604518273,
      "time": 312,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12261562734"
    },
    {
      "job": 118604518400,
      "time": 220,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12261817143"
    },
    {
      "job": 118604518167,
      "time": 367,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12262022343"
    },
    {
      "job": 118604518202,
      "time": 189,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12260698649"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/39415165175",
  "_commit": {
    "id": "cca8a41479d29b223149ffd519c431f93a00c9ea",
    "author": "Yosuke Abe <yosuke.abe0507@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.12.0\n",
    "time": 1783181402
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "fixest",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "did",
      "role": "Suggests"
    },
    {
      "package": "didimputation",
      "role": "Suggests"
    },
    {
      "package": "modelsummary",
      "role": "Suggests"
    },
    {
      "package": "tinytable",
      "role": "Suggests"
    },
    {
      "package": "lpSolveAPI",
      "role": "Suggests"
    },
    {
      "package": "Rglpk",
      "role": "Suggests"
    },
    {
      "package": "TruncatedNormal",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "pracma",
      "role": "Suggests"
    },
    {
      "package": "HonestDiD",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.7.2",
      "date": "2026-05-02"
    },
    {
      "name": "0.8.1",
      "date": "2026-05-10"
    },
    {
      "name": "0.11.2",
      "date": "2026-06-11"
    },
    {
      "name": "0.12.0",
      "date": "2026-07-04"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yo5uke",
      "count": 10,
      "uuid": 141737272
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 430,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/fixes"
  },
  "_devurl": "https://github.com/yo5uke/fixes",
  "_pkgdown": "https://yo5uke.com/fixes/",
  "_searchresults": 43,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/fixes.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/yo5uke/fixes",
  "_realowner": "yo5uke",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-03-22"
    },
    {
      "version": "0.2.0",
      "date": "2025-04-23"
    },
    {
      "version": "0.2.1",
      "date": "2025-05-10"
    },
    {
      "version": "0.4.0",
      "date": "2025-05-27"
    },
    {
      "version": "0.4.1",
      "date": "2025-06-30"
    },
    {
      "version": "0.5.0",
      "date": "2025-07-07"
    },
    {
      "version": "0.7.2",
      "date": "2026-05-02"
    },
    {
      "version": "0.8.1",
      "date": "2026-05-10"
    },
    {
      "version": "0.11.2",
      "date": "2026-06-11"
    },
    {
      "version": "0.12.0",
      "date": "2026-07-04"
    }
  ],
  "_exports": [
    "calc_att",
    "compute_contamination_weights",
    "honest_sensitivity",
    "plot_att_gt",
    "plot_contamination_weights",
    "plot_es",
    "plot_es_interactive",
    "plot_honest",
    "run_did",
    "run_es"
  ],
  "_help": [
    {
      "page": "autoplot.es_result",
      "title": "Autoplot for event-study results",
      "topics": [
        "autoplot.es_result"
      ]
    },
    {
      "page": "calc_att",
      "title": "Compute ATT Aggregations for Staggered Adoption Designs",
      "topics": [
        "calc_att"
      ]
    },
    {
      "page": "compute_contamination_weights",
      "title": "Contamination Weights for TWFE Event-Study Coefficients (Sun-Abraham 2021)",
      "topics": [
        "compute_contamination_weights"
      ]
    },
    {
      "page": "glance.att_result",
      "title": "Glance at an 'att_result' object",
      "topics": [
        "glance.att_result"
      ]
    },
    {
      "page": "glance.did_result",
      "title": "Glance at a 'did_result' object",
      "topics": [
        "glance.did_result"
      ]
    },
    {
      "page": "honest_sensitivity",
      "title": "Honest sensitivity analysis for parallel-trends violations",
      "topics": [
        "honest_sensitivity"
      ]
    },
    {
      "page": "plot_att_gt",
      "title": "Plot the ATT(g,t) matrix from a Callaway-Sant'Anna event study",
      "topics": [
        "autoplot.att_gt_result",
        "plot_att_gt"
      ]
    },
    {
      "page": "plot_contamination_weights",
      "title": "Plot Contamination Weights as a Tile Heatmap",
      "topics": [
        "plot_contamination_weights"
      ]
    },
    {
      "page": "plot_es",
      "title": "Plot event-study results with ribbons or error bars",
      "topics": [
        "plot_es"
      ]
    },
    {
      "page": "plot_es_interactive",
      "title": "Interactive event-study plot with hover details",
      "topics": [
        "plot_es_interactive"
      ]
    },
    {
      "page": "plot_honest",
      "title": "Plot a honest sensitivity analysis",
      "topics": [
        "autoplot.honest_result",
        "plot_honest"
      ]
    },
    {
      "page": "run_did",
      "title": "Run a basic two-way fixed-effects DiD model",
      "topics": [
        "run_did"
      ]
    },
    {
      "page": "run_es",
      "title": "Event Study Estimation for Panel Data",
      "topics": [
        "run_es"
      ]
    },
    {
      "page": "tidy.att_result",
      "title": "Tidy an 'att_result' object",
      "topics": [
        "tidy.att_result"
      ]
    },
    {
      "page": "tidy.did_result",
      "title": "Tidy a 'did_result' object",
      "topics": [
        "tidy.did_result"
      ]
    }
  ],
  "_readme": "https://github.com/cran/fixes/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "cli",
    "cpp11",
    "dplyr",
    "dreamerr",
    "farver",
    "fixest",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "nlme",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "stringi",
    "stringmagic",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "fixes-intro.Rmd",
      "filename": "fixes-intro.html",
      "title": "Introduction to fixes",
      "author": "Yosuke Abe",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Minimal Example",
        "Visualizing Event Study Results",
        "Staggered Treatment with sunab",
        "Package Highlights",
        "Staggered adoption estimators (v0.8.0)",
        "Callaway & Sant'Anna (2021) — estimator = \"cs\"",
        "Sun & Abraham (2021) — estimator = \"sa\"",
        "Borusyak, Jaravel & Spiess (2024) — estimator = \"bjs\"",
        "Bootstrap simultaneous confidence bands (v0.8.0)",
        "Pointwise vs. simultaneous CIs",
        "Usage",
        "ATT(g,t) visualization (v0.8.0)",
        "Heatmap",
        "Facet plot",
        "Conclusion"
      ],
      "created": "2025-03-18 15:10:06",
      "modified": "2026-05-10 07:37:06",
      "commits": 6
    }
  ],
  "_score": 3.934498451243568,
  "_indexed": false,
  "_nocasepkg": "fixes",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://yo5uke.r-universe.dev/fixes",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.12.0",
      "date": "2026-10-20T11:35:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cca8a41479d29b223149ffd519c431f93a00c9ea",
      "fileid": "https://r2.ropensci.org/57d353a74176063c83b7cdc02530eb985f580bc3fb7fd996666139d2e12bd6d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39415165175"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.12.0",
      "date": "2026-10-20T11:37:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cca8a41479d29b223149ffd519c431f93a00c9ea",
      "fileid": "https://r2.ropensci.org/142cf554414d338800011a410f87147118d5b12926e269955d82605894d49072",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39415165175"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.12.0",
      "date": "2026-10-20T11:35:36.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cca8a41479d29b223149ffd519c431f93a00c9ea",
      "fileid": "https://r2.ropensci.org/90cb81e1d03fb9a076247fa4c83d136f28e4e1a835f89b541f63fd6a1400ca25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39415165175"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.12.0",
      "date": "2026-10-20T11:35:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cca8a41479d29b223149ffd519c431f93a00c9ea",
      "fileid": "https://r2.ropensci.org/2a5b6d8111b81722caa50a1ab5fd01bdbfa35aea4e661049d9d2e96ff158fa8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39415165175"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.12.0",
      "date": "2026-10-20T11:36:17.000Z",
      "arch": "emscripten",
      "commit": "cca8a41479d29b223149ffd519c431f93a00c9ea",
      "fileid": "https://r2.ropensci.org/408464952d966f05950040d506ad38c3b5b4fed359e20a6791a6a39a36e121b4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39415165175"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.12.0",
      "date": "2026-10-20T11:37:36.000Z",
      "arch": "aarch64",
      "commit": "cca8a41479d29b223149ffd519c431f93a00c9ea",
      "fileid": "https://r2.ropensci.org/a468e5c58b786bad13cf93475d6bbecf3618998280f2da4c21a2531a794a94f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39415165175"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.12.0",
      "date": "2026-10-20T11:35:05.000Z",
      "arch": "x86_64",
      "commit": "cca8a41479d29b223149ffd519c431f93a00c9ea",
      "fileid": "https://r2.ropensci.org/941cc4850c0dc888e59f78517055081941ba4670fa0585bfbc850f3c5461df59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39415165175"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.12.0",
      "date": "2026-10-20T11:38:28.000Z",
      "arch": "aarch64",
      "commit": "cca8a41479d29b223149ffd519c431f93a00c9ea",
      "fileid": "https://r2.ropensci.org/50dc48cb1c9520c9976ed6141b12f1dde58bf537bb28abdb14e5c539ed08e952",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39415165175"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.12.0",
      "date": "2026-10-20T11:35:09.000Z",
      "arch": "x86_64",
      "commit": "cca8a41479d29b223149ffd519c431f93a00c9ea",
      "fileid": "https://r2.ropensci.org/f297e8af38da980d73e7b1951bc88d33b49ed12211c7ab604d36ef15a11916f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39415165175"
    }
  ]
}