{
  "_id": "6ac38506afd9914e452d3d14",
  "Package": "nonabsdid",
  "Type": "Package",
  "Title": "Visualize Heterogeneity-Robust Event Studies for Non-Absorbing\nTreatments",
  "Version": "0.4.1.9000",
  "Date": "2026-06-23",
  "Authors@R": "c(\nperson(given = \"Takuma\",\nfamily = \"Iwasaki\",\nrole = c(\"aut\", \"cre\"),\nemail = \"iwasakit@stanford.edu\",\ncomment = c(ORCID = \"0009-0000-8782-4851\"))\n)",
  "Description": "Runs several heterogeneity-robust\ndifference-in-differences (DID) event-study estimators for\nnon-absorbing (i.e., treatment can switch on and off over time,\nallowing treatment reversal) binary treatments through their\nrespective packages, harmonizes their output onto a common time\naxis and tidy data structure, and overlays them in a single\n'ggplot2' panel for visual comparison. Supported estimators\ninclude those provided by 'DIDmultiplegtDYN', 'PanelMatch', and\n'fect', with an optional naive two-way fixed-effects reference\nseries via 'fixest'. The underlying methods are respectively\ndescribed in Clement de Chaisemartin and Xavier\nD'Haultfoeuille. \"Difference-in-Differences Estimators of\nIntertemporal Treatment Effects.\" The Review of Economics and\nStatistics (2026) <doi:10.1162/rest_a_01414>, Kosuke Imai, In\nSong Kim, and Erik H. Wang. \"Matching methods for causal\ninference with time‐series cross‐sectional data.\" American\nJournal of Political Science 67.3 (2023)\n<doi:10.1111/ajps.12685>, Licheng Liu, Ye Wang, and Yiqing Xu.\n\"A practical guide to counterfactual estimators for causal\ninference with time‐series cross‐sectional data.\" American\nJournal of Political Science 68.1 (2024)\n<doi:10.1111/ajps.12723>, and Laurent R. Bergé, Kyle Butts, and\nGrant McDermott. \"Fast and user-friendly econometrics\nestimations: The R package 'fixest'.\" arXiv preprint (2026)\n<doi:10.48550/arXiv.2601.21749>. A single nabs_event_study()\nwrapper runs any supported estimator with a common interface;\nnabs_event_study_simple() provides a one-line front door for\nquick exploratory runs; the S3 generic as_nabs_event_study()\ncoerces estimator output into a tidy stable schema; and\nnabs_event_plot() overlays multiple methods on a single\n'ggplot2' panel, with optional naive two-way fixed effects\ndrawn in a neutral color as a reference.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/takuma1102/nonabsdid,\nhttps://takuma1102.github.io/nonabsdid/",
  "BugReports": "https://github.com/takuma1102/nonabsdid/issues",
  "VignetteBuilder": "knitr",
  "Additional_repositories": "https://community.r-multiverse.org",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://takuma1102.r-universe.dev",
  "Date/Publication": "2026-07-07 21:23:51 UTC",
  "RemoteUrl": "https://github.com/takuma1102/nonabsdid",
  "RemoteRef": "HEAD",
  "RemoteSha": "92af671e0c99d6cc5bbe1eff4c0b813dac473707",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-05 10:59:11 UTC",
    "User": "root"
  },
  "Author": "Takuma Iwasaki [aut, cre] (ORCID:\n<https://orcid.org/0009-0000-8782-4851>)",
  "Maintainer": "Takuma Iwasaki <iwasakit@stanford.edu>",
  "_user": "takuma1102",
  "_type": "src",
  "_file": "nonabsdid_0.4.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/287d5666a7b214ffb03c3746ba098f8d5f3a5eff2e721085f138a211a4940b4e",
  "_filesize": 1954061,
  "_sha256": "287d5666a7b214ffb03c3746ba098f8d5f3a5eff2e721085f138a211a4940b4e",
  "_expires": "2027-01-13T11:07:47.000Z",
  "_created": "2026-10-05T10:59:11.000Z",
  "_published": "2026-10-05T11:07:50.276Z",
  "_jobs": [
    {
      "job": 111730398683,
      "time": 239,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11341021708"
    },
    {
      "job": 111730398622,
      "time": 220,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11341236462"
    },
    {
      "job": 111730398542,
      "time": 474,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11341902127"
    },
    {
      "job": 111730398543,
      "time": 410,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11341042073"
    },
    {
      "job": 111728683613,
      "time": 302,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11341016169"
    },
    {
      "job": 111730398588,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11340971460"
    },
    {
      "job": 111730398596,
      "time": 170,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11342036147"
    },
    {
      "job": 111730398532,
      "time": 197,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11340956669"
    },
    {
      "job": 111730398577,
      "time": 177,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11341456720"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/takuma1102/actions/runs/37299479022",
  "_status": "success",
  "_upstream": "https://github.com/takuma1102/nonabsdid",
  "_commit": {
    "id": "92af671e0c99d6cc5bbe1eff4c0b813dac473707",
    "author": "takuma1102 <takuma.iwasaki1102@gmail.com>",
    "committer": "takuma1102 <takuma.iwasaki1102@gmail.com>",
    "message": "minor R update\n",
    "time": 1783459431
  },
  "_maintainer": {
    "name": "Takuma Iwasaki",
    "email": "iwasakit@stanford.edu",
    "orcid": "0009-0000-8782-4851"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "DIDmultiplegtDYN",
      "role": "Suggests"
    },
    {
      "package": "polars",
      "role": "Suggests"
    },
    {
      "package": "PanelMatch",
      "role": "Suggests"
    },
    {
      "package": "fect",
      "role": "Suggests"
    },
    {
      "package": "fixest",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "takuma1102",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-18",
      "n": 15
    },
    {
      "week": "2026-23",
      "n": 145
    },
    {
      "week": "2026-24",
      "n": 74
    },
    {
      "week": "2026-25",
      "n": 7
    },
    {
      "week": "2026-26",
      "n": 38
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "takuma1102",
      "count": 284,
      "uuid": 94999658
    },
    {
      "user": "pyguy2",
      "count": 3,
      "uuid": 11974189
    }
  ],
  "_userbio": {
    "uuid": 94999658,
    "type": "user",
    "name": "Takuma Iwasaki",
    "followers": 0,
    "description": "Stanford Law School - JSD candidate"
  },
  "_downloads": {
    "count": 387,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nonabsdid"
  },
  "_devurl": "https://github.com/takuma1102/nonabsdid",
  "_pkgdown": "https://takuma1102.github.io/nonabsdid/",
  "_searchresults": 7,
  "_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/nonabsdid.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/takuma1102/nonabsdid",
  "_realowner": "takuma1102",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.2",
      "date": "2026-06-18"
    },
    {
      "version": "0.4.1",
      "date": "2026-06-23"
    }
  ],
  "_exports": [
    "aggregate_effects",
    "as_nabs_effect_cells",
    "as_nabs_event_study",
    "nabs_effect_cells",
    "nabs_event_plot",
    "nabs_event_study",
    "nabs_event_study_simple",
    "nabs_read_dta",
    "nabs_write_dta",
    "naive_twfe",
    "plot_effect_matrix"
  ],
  "_help": [
    {
      "page": "aggregate_effects",
      "title": "Collapse effect cells back onto an event-study path",
      "topics": [
        "aggregate_effects"
      ]
    },
    {
      "page": "as_nabs_effect_cells",
      "title": "Coerce an estimator result to a tidy cohort-by-time effect-cell tibble",
      "topics": [
        "as_nabs_effect_cells",
        "as_nabs_effect_cells.data.frame",
        "as_nabs_effect_cells.did_multiplegt_dyn",
        "as_nabs_effect_cells.fect"
      ]
    },
    {
      "page": "as_nabs_event_study",
      "title": "Coerce an estimator result to a tidy event-study tibble",
      "topics": [
        "as_nabs_event_study",
        "as_nabs_event_study.did_multiplegt_dyn",
        "as_nabs_event_study.fect",
        "as_nabs_event_study.fixest",
        "as_nabs_event_study.list",
        "as_nabs_event_study.nabs_event_study_result",
        "as_nabs_event_study.nabs_event_study_simple",
        "as_nabs_event_study.PanelEstimate"
      ]
    },
    {
      "page": "nabs_effect_cells",
      "title": "Fit an estimator and return cohort-by-time effect cells",
      "topics": [
        "nabs_effect_cells"
      ]
    },
    {
      "page": "nabs_event_plot",
      "title": "Plot one or more event-study tibbles on a single panel",
      "topics": [
        "nabs_event_plot"
      ]
    },
    {
      "page": "nabs_event_study",
      "title": "Run an event-study estimator with a unified interface",
      "topics": [
        "nabs_event_study"
      ]
    },
    {
      "page": "nabs_event_study_simple",
      "title": "One-line exploratory front door for non-absorbing event studies",
      "topics": [
        "nabs_event_study_simple"
      ]
    },
    {
      "page": "nabs_read_dta",
      "title": "Read a Stata .dta file into an analysis-ready data frame",
      "topics": [
        "nabs_read_dta"
      ]
    },
    {
      "page": "nabs_write_dta",
      "title": "Write event-study results to a Stata .dta file",
      "topics": [
        "nabs_write_dta"
      ]
    },
    {
      "page": "naive_twfe",
      "title": "Estimate a naive two-way fixed-effects (TWFE) event study",
      "topics": [
        "naive_twfe"
      ]
    },
    {
      "page": "plot_effect_matrix",
      "title": "Plot a cohort-by-time effect matrix as a heatmap",
      "topics": [
        "plot_effect_matrix"
      ]
    }
  ],
  "_readme": "https://github.com/takuma1102/nonabsdid/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "cohort-matrix.Rmd",
      "filename": "cohort-matrix.html",
      "title": "Cohort-by-time effect matrices and heatmaps",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Event study vs. effect matrix",
        "A toy non-absorbing panel",
        "One-step fit: nabs_effect_cells()",
        "Comparing methods",
        "Working from existing objects",
        "Collapsing back to an event study",
        "The cell schema",
        "Why not PanelMatch?"
      ],
      "created": "2026-06-22 19:44:45",
      "modified": "2026-06-22 22:25:40",
      "commits": 3
    },
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting started with nonabsdid",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The 30-second version",
        "A simulated panel",
        "Three estimators, three lines of code",
        "Or call the estimators directly",
        "Naive TWFE reference",
        "Plot",
        "Plot styles",
        "Schema"
      ],
      "created": "2026-05-01 08:53:59",
      "modified": "2026-06-09 22:12:18",
      "commits": 4
    },
    {
      "source": "nonabsdid-for-stata-users.Rmd",
      "filename": "nonabsdid-for-stata-users.html",
      "title": "nonabsdid for Stata users",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Why use R for this at all?",
        "2. Getting your data in: nabs_read_dta()",
        "3. Rosetta stone: did_multiplegt_dyn → nabs_event_study()",
        "What about csdid / did_imputation / xtevent?",
        "4. Stata-style argument aliases",
        "5. Getting results out: nabs_write_dta()",
        "Reproducibility checklist"
      ],
      "created": "2026-06-13 23:11:48",
      "modified": "2026-06-13 23:11:48",
      "commits": 1
    }
  ],
  "_score": 5.021189299069938,
  "_indexed": true,
  "_nocasepkg": "nonabsdid",
  "_universes": [
    "takuma1102"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1.9000",
      "date": "2026-10-05T11:02:08.000Z",
      "distro": "resolute",
      "commit": "92af671e0c99d6cc5bbe1eff4c0b813dac473707",
      "fileid": "https://r2.ropensci.org/d2de87a31c16ae5e534334bd16f3f860021fd45f77881f43486650cfb8ba4113",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/37299479022"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.1.9000",
      "date": "2026-10-05T11:01:53.000Z",
      "distro": "resolute",
      "commit": "92af671e0c99d6cc5bbe1eff4c0b813dac473707",
      "fileid": "https://r2.ropensci.org/397d3dd65ad77ddd4c8ea4b9144829911433f6e43982f80e82798536c6d2dedf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/37299479022"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1.9000",
      "date": "2026-10-05T11:01:13.000Z",
      "commit": "92af671e0c99d6cc5bbe1eff4c0b813dac473707",
      "fileid": "https://r2.ropensci.org/871314b7f1db1a295febdb3c0491569dc4b56d58b2b199561e131ff8f43c8bf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/37299479022"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.1.9000",
      "date": "2026-10-05T11:01:17.000Z",
      "commit": "92af671e0c99d6cc5bbe1eff4c0b813dac473707",
      "fileid": "https://r2.ropensci.org/fa2e2d9706bf8880582b462acaf25a76ca2346b527e4576b036453f54b8bef6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/37299479022"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1.9000",
      "date": "2026-10-05T11:01:53.000Z",
      "commit": "92af671e0c99d6cc5bbe1eff4c0b813dac473707",
      "fileid": "https://r2.ropensci.org/1de3f511661c0d9457c1ebbe7d7b7a7553e11b56146cb3788b9eca9ef9cf5afd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/37299479022"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1.9000",
      "date": "2026-10-05T11:00:51.000Z",
      "commit": "92af671e0c99d6cc5bbe1eff4c0b813dac473707",
      "fileid": "https://r2.ropensci.org/8a05be6cddf58c545c358fa0fac225febe0b1f9e81b82289519f0873664c2673",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/37299479022"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1.9000",
      "date": "2026-10-05T11:00:40.000Z",
      "commit": "92af671e0c99d6cc5bbe1eff4c0b813dac473707",
      "fileid": "https://r2.ropensci.org/7386226b251797f180a2f2ed0c6b6fad33aed98ab5103ef07ec15f54bb96d672",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/37299479022"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.1.9000",
      "date": "2026-10-05T11:00:47.000Z",
      "commit": "92af671e0c99d6cc5bbe1eff4c0b813dac473707",
      "fileid": "https://r2.ropensci.org/24adc3b09f2b3a880074d981f173b5a74fda56a57b5919600114756ac9357d26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/37299479022"
    }
  ]
}