{
  "_id": "6a48b1f3e06c18f0a65470a1",
  "Package": "contdid",
  "Title": "Difference-in-Differences with a Continuous Treatment",
  "Version": "0.1.0",
  "Authors@R": "c(person(\"Brantly\", \"Callaway\", email = \"brantly.callaway@uga.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Andrew\", \"Goodman-Bacon\", email = \"andrew@goodman-bacon.com\", role = c(\"aut\")),\nperson(\"Pedro H. C.\", \"Sant'Anna\", email=\"pedro.h.santanna@emory.edu\", role = c(\"aut\")))",
  "Description": "Provides methods for difference-in-differences with a\ncontinuous treatment and staggered treatment adoption. Includes\nestimation of treatment effects and causal responses as a\nfunction of the dose, event studies indexed by length of\nexposure to the treatment, and aggregation into overall average\neffects. Uniform inference procedures are included, along with\nboth parametric and nonparametric models for treatment effects.\nThe methods are based on Callaway, Goodman-Bacon, and Sant'Anna\n(2025) <doi:10.48550/arXiv.2107.02637>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://bcallaway11.github.io/contdid/,\nhttps://github.com/bcallaway11/contdid",
  "BugReports": "https://github.com/bcallaway11/contdid/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://bcallaway11.r-universe.dev",
  "Date/Publication": "2025-06-28 03:18:42 UTC",
  "RemoteUrl": "https://github.com/bcallaway11/contdid",
  "RemoteRef": "HEAD",
  "RemoteSha": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-04 06:25:43 UTC",
    "User": "root"
  },
  "Author": "Brantly Callaway [aut, cre],\nAndrew Goodman-Bacon [aut],\nPedro H. C. Sant'Anna [aut]",
  "Maintainer": "Brantly Callaway <brantly.callaway@uga.edu>",
  "_user": "bcallaway11",
  "_type": "src",
  "_file": "contdid_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/9f548bf1036998d5c9eb31088b14acfdc1b5085b948deda8555afdeb29e0155c",
  "_filesize": 297781,
  "_sha256": "9f548bf1036998d5c9eb31088b14acfdc1b5085b948deda8555afdeb29e0155c",
  "_expires": "2026-10-12T07:10:42.000Z",
  "_created": "2026-07-04T06:25:43.000Z",
  "_published": "2026-07-04T07:10:43.650Z",
  "_jobs": [
    {
      "job": 85110059296,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8079137168"
    },
    {
      "job": 85110059311,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8079136577"
    },
    {
      "job": 85110059312,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8079452559"
    },
    {
      "job": 85110059308,
      "time": 116,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8079417687"
    },
    {
      "job": 85109833972,
      "time": 212,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079116392"
    },
    {
      "job": 85110059298,
      "time": 162,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8079136512"
    },
    {
      "job": 85110059303,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8079130266"
    },
    {
      "job": 85110059322,
      "time": 123,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8079131823"
    },
    {
      "job": 85110059301,
      "time": 136,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8079133372"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/28697566633",
  "_status": "success",
  "_upstream": "https://github.com/bcallaway11/contdid",
  "_commit": {
    "id": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
    "author": "Brantly Callaway <brantly.callaway@uga.edu>",
    "committer": "Brantly Callaway <brantly.callaway@uga.edu>",
    "message": "replace dontrun with donttest to pass cran checks\n",
    "time": 1751080722
  },
  "_maintainer": {
    "name": "Brantly Callaway",
    "email": "brantly.callaway@uga.edu",
    "login": "bcallaway11",
    "description": "Brantly Callaway, Department of Economics, University of Georgia",
    "uuid": 148795
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "BMisc",
      "version": ">= 1.4.8",
      "role": "Imports"
    },
    {
      "package": "ptetools",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "splines2",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "npiv",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "bcallaway11",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 62,
  "_contributors": [
    {
      "user": "bcallaway11",
      "count": 54,
      "uuid": 148795
    },
    {
      "user": "pedrohcgs",
      "count": 1,
      "uuid": 4849139
    }
  ],
  "_userbio": {
    "uuid": 148795,
    "type": "user",
    "name": "Brantly Callaway",
    "followers": 379,
    "description": "Brantly Callaway, Department of Economics, University of Georgia"
  },
  "_downloads": {
    "count": 451,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/contdid"
  },
  "_devurl": "https://github.com/bcallaway11/contdid",
  "_pkgdown": "https://bcallaway11.github.io/contdid/",
  "_searchresults": 37,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contdid.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bcallaway11/contdid",
  "_realowner": "bcallaway11",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-07-03"
    }
  ],
  "_exports": [
    "choose_knots_even",
    "choose_knots_quantile",
    "cont_did",
    "cont_did_acrt",
    "cont_two_by_two_subset",
    "ggcont_did",
    "setup_pte_cont",
    "simulate_contdid_data"
  ],
  "_help": [
    {
      "page": "choose_knots_even",
      "title": "Choose Evenly Spaced Knots",
      "topics": [
        "choose_knots_even"
      ]
    },
    {
      "page": "choose_knots_quantile",
      "title": "Choose Knots at Quantiles",
      "topics": [
        "choose_knots_quantile"
      ]
    },
    {
      "page": "cont_did",
      "title": "Difference-in-differences with a Continuous Treatment",
      "topics": [
        "cont_did"
      ]
    },
    {
      "page": "cont_did_acrt",
      "title": "Compute ACRT's for a Timing Group and Time Period",
      "topics": [
        "cont_did_acrt"
      ]
    },
    {
      "page": "cont_two_by_two_subset",
      "title": "Continuous Two-by-Two Subset",
      "topics": [
        "cont_two_by_two_subset"
      ]
    },
    {
      "page": "ggcont_did",
      "title": "Plot Results with a Continuous Treatment",
      "topics": [
        "ggcont_did"
      ]
    },
    {
      "page": "setup_pte_cont",
      "title": "Setup for DiD with a Continuous Treatment",
      "topics": [
        "setup_pte_cont"
      ]
    },
    {
      "page": "simulate_contdid_data",
      "title": "Simulate data for DiD with a Continuous Treatment",
      "topics": [
        "simulate_contdid_data"
      ]
    }
  ],
  "_readme": "https://github.com/bcallaway11/contdid/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "BH",
    "bigmemory",
    "bigmemory.sri",
    "BMisc",
    "checkmate",
    "cli",
    "cpp11",
    "crayon",
    "data.table",
    "dplyr",
    "DRDID",
    "farver",
    "fastglm",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "npiv",
    "pbapply",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "ptetools",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "splines2",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "trust",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_score": 5.059563417901268,
  "_indexed": true,
  "_nocasepkg": "contdid",
  "_universes": [
    "bcallaway11"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-04T06:28:15.000Z",
      "distro": "resolute",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "https://r2.ropensci.org/ad48b8ac96ae87d60583f39a83db1fdb44c49b16e58ce3c44c26a5b05a5336bd",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/28697566633"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-04T06:28:11.000Z",
      "distro": "resolute",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "https://r2.ropensci.org/2e906510108d8b1086c76e8dcd2e03393f91544afd6a743a38f39740c0e0261a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/28697566633"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-04T07:09:52.000Z",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "https://r2.ropensci.org/56103c608a13f7091496823c813f586018dbf376bfbd832840e87cf94c8620a1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/28697566633"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-04T07:05:54.000Z",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "https://r2.ropensci.org/f2ec7dff93f6832461f423f82e31bd1ef8c0274945831eb51b0bc0e7c9c969ab",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/28697566633"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-04T06:28:42.000Z",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "https://r2.ropensci.org/68baecb830aa833c472a4691c191badee2ca4f3f60acfc3f962f12c7da63e278",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/28697566633"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-04T06:27:18.000Z",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "https://r2.ropensci.org/665bd2128a65c4abd182ab8f8518bdd9a33ab39e42b99d49f2c91f086852fa26",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/28697566633"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-04T06:27:22.000Z",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "https://r2.ropensci.org/2bd73dcc7ed06539d83607e14f74ba6e7a7865f1d1fb825c823fefda444b6d9e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/28697566633"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-04T06:27:31.000Z",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "https://r2.ropensci.org/02d928a2a6234ecb4e75e013e2ace3e408fa10f2a42966fddb4e2cdc7f4c0d2c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/28697566633"
    }
  ]
}