{
  "_id": "6a14cc54acfb0bcc41d4c1a0",
  "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-05-25 22:21:58 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>",
  "MD5sum": "82d87c4ecb7891a5a9bd65bf37ddb04f",
  "_user": "bcallaway11",
  "_type": "src",
  "_file": "contdid_0.1.0.tar.gz",
  "_fileid": "0a684dfaef8d8454bef776a72738e71b1cd5623617b213845467ad8d5ec0f662",
  "_filesize": 291639,
  "_sha256": "0a684dfaef8d8454bef776a72738e71b1cd5623617b213845467ad8d5ec0f662",
  "_created": "2026-05-25T22:21:58.000Z",
  "_published": "2026-05-25T22:25:24.044Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77778642767,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7205648274"
    },
    {
      "job": 77778642773,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7205647564"
    },
    {
      "job": 77778642774,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7205639065"
    },
    {
      "job": 77778642779,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7205637316"
    },
    {
      "job": 77778385885,
      "time": 181,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7205621820"
    },
    {
      "job": 77778642762,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7205641929"
    },
    {
      "job": 77778642776,
      "time": 139,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7205643608"
    },
    {
      "job": 77778642765,
      "time": 112,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7205639693"
    },
    {
      "job": 77778642770,
      "time": 108,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7205639133"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421983363",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": [
    {
      "week": "2025-21",
      "n": 8
    },
    {
      "week": "2025-22",
      "n": 14
    },
    {
      "week": "2025-24",
      "n": 4
    },
    {
      "week": "2025-26",
      "n": 6
    }
  ],
  "_tags": [],
  "_stars": 58,
  "_contributors": [
    {
      "user": "bcallaway11",
      "count": 54,
      "uuid": 148795
    },
    {
      "user": "pedrohcgs",
      "count": 1,
      "uuid": 4849139
    }
  ],
  "_userbio": {
    "uuid": 148795,
    "type": "user",
    "name": "Brantly Callaway",
    "description": "Brantly Callaway, Department of Economics, University of Georgia"
  },
  "_downloads": {
    "count": 312,
    "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.0",
  "_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.632659713293913,
  "_indexed": true,
  "_nocasepkg": "contdid",
  "_universes": [
    "bcallaway11"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-25T22:24:35.000Z",
      "distro": "noble",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "d29f84360b574185dda1cd5086b916f9264b57b4d8292743a493195ca2befefc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421983363"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-25T22:24:34.000Z",
      "distro": "noble",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "66a82f1ee6fa89b1ed48cfbe6cfc6d75518a393a25ec5ab3904b837fdd59d2c6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421983363"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-25T22:23:43.000Z",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "70bf55973277fd35c1372c3c0e4e0920a45d56c5aae92fa7b8182ae682a78dcd",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421983363"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-25T22:23:32.000Z",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "82199c140ec7b2b7814fad27baaf7c275ac62bcbf1f5d0de590d9c44e6507eb5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421983363"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-25T22:24:26.000Z",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "ee4946caba7e1d11233391ae6ce61b4181651a56e9594a34a892f4367beaa07a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421983363"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-25T22:23:48.000Z",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "64f2e54816c29fde7b4f69311f2f347e13a16694f9b5c16227a25de304417f35",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421983363"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-25T22:23:29.000Z",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "9d1d03e0ab5a896a604eec601dc06a8c41141625da4613fd017ce2b29be52c6b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421983363"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-25T22:23:29.000Z",
      "commit": "443c1c12f013bdaf19503d9d0a4f7a494e9eb22f",
      "fileid": "376c73e1877678efc3fbf2a8dbe825f14fc5d1c64d7131b0748ae4286b748110",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/26421983363"
    }
  ]
}