{
  "_id": "6adc6f2e1f8fc22f6383e09d",
  "Package": "fdid",
  "Type": "Package",
  "Title": "Factorial Difference-in-Differences",
  "Version": "1.0.2",
  "Date": "2026-03-18",
  "Authors@R": "c(person(\"Yiqing\", \"Xu\", , \"yiqingxu@stanford.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Rivka\", \"Lipkovitz\", email = \"rivkal@mit.edu\", role = c(\"aut\")),\nperson(\"Enhan\", \"Liu\", email = \"enhan@uchicago.edu\", role = c(\"aut\")))",
  "Description": "Implements the factorial difference-in-differences (FDID)\nframework for panel data settings where all units are exposed\nto a universal event but vary in a baseline factor G. Provides\nsupport for various estimators; supports robust, bootstrap, and\njackknife variance; returns dynamic, pre/event/post aggregates\nand raw means; and includes helpers for data preparation and\nplotting. Methodology follows Xu, Zhao and Ding (2026)\n<doi:10.1080/01621459.2026.2628343>.",
  "URL": "https://yiqingxu.org/packages/fdid/,\nhttps://github.com/xuyiqing/fdid",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://xuyiqing.r-universe.dev",
  "Date/Publication": "2026-03-19 01:41:54 UTC",
  "RemoteUrl": "https://github.com/xuyiqing/fdid",
  "RemoteRef": "HEAD",
  "RemoteSha": "defdd389959ee64fc0685f50a37532db9aaa80f6",
  "Packaged": {
    "Date": "2026-10-24 08:37:59 UTC",
    "User": "root"
  },
  "Author": "Yiqing Xu [aut, cre],\nRivka Lipkovitz [aut],\nEnhan Liu [aut]",
  "Maintainer": "Yiqing Xu <yiqingxu@stanford.edu>",
  "_user": "xuyiqing",
  "_type": "src",
  "_file": "fdid_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/b053fe9378dc9b928aa972ce54edca87a67195fa62294ebffd23671ce9269c2b",
  "_filesize": 296184,
  "_sha256": "b053fe9378dc9b928aa972ce54edca87a67195fa62294ebffd23671ce9269c2b",
  "_expires": "2027-02-01T08:41:16.000Z",
  "_created": "2026-10-24T08:37:59.000Z",
  "_published": "2026-10-24T08:41:18.071Z",
  "_upstream": "https://github.com/xuyiqing/fdid",
  "_status": "success",
  "_maintainer": {
    "name": "Yiqing Xu",
    "email": "yiqingxu@stanford.edu"
  },
  "_jobs": [
    {
      "job": 120827898437,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12554596644"
    },
    {
      "job": 120827898362,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12553663967"
    },
    {
      "job": 120827898352,
      "time": 156,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12554411379"
    },
    {
      "job": 120827898650,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12554780917"
    },
    {
      "job": 120826157159,
      "time": 531,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12554805593"
    },
    {
      "job": 120827898303,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12554656210"
    },
    {
      "job": 120827898319,
      "time": 100,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12554064424"
    },
    {
      "job": 120827898358,
      "time": 77,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12553894456"
    },
    {
      "job": 120827898324,
      "time": 97,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12553944083"
    }
  ],
  "_buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/40078225789",
  "_commit": {
    "id": "defdd389959ee64fc0685f50a37532db9aaa80f6",
    "author": "Yiqing Xu <xuyiqing@users.noreply.github.com>",
    "committer": "Yiqing Xu <xuyiqing@users.noreply.github.com>",
    "message": "remove log directory — workflow logs moved to statsclaw-workspace\n\nCo-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>\n",
    "time": 1773884514
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "estimatr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "doFuture",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "ebal",
      "role": "Imports"
    },
    {
      "package": "grf",
      "role": "Imports"
    },
    {
      "package": "car",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "xuyiqing",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 4
    },
    {
      "week": "2026-11",
      "n": 4
    },
    {
      "week": "2026-12",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "xuyiqing",
      "count": 22,
      "uuid": 7664920
    },
    {
      "user": "rivkalipko",
      "count": 5,
      "uuid": 82051768
    },
    {
      "user": "enhan-liu",
      "count": 4,
      "uuid": 225636180
    },
    {
      "user": "claude",
      "count": 2,
      "uuid": 81847
    }
  ],
  "_userbio": {
    "uuid": 7664920,
    "type": "user",
    "name": "Yiqing Xu",
    "followers": 633,
    "description": "Assistant Professor at Stanford PoliSci"
  },
  "_downloads": {
    "count": 275,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/fdid"
  },
  "_devurl": "https://github.com/xuyiqing/fdid",
  "_searchresults": 16,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/fdid.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/xuyiqing/fdid",
  "_realowner": "xuyiqing",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2026-03-23"
    }
  ],
  "_exports": [
    "fdid",
    "fdid_list",
    "fdid_prepare"
  ],
  "_datasets": [
    {
      "name": "mortality",
      "title": "FDID example dataset",
      "object": "fdid",
      "class": [
        "data.frame"
      ],
      "fields": [
        "provid",
        "countyid",
        "zupu",
        "pczupu",
        "anyzupu",
        "avggrain",
        "nograin",
        "urban",
        "dis_bj",
        "dis_pc",
        "rice",
        "minority",
        "edu",
        "lnpop",
        "year",
        "mortality",
        "lnpczupu"
      ],
      "rows": 11973,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "fdid",
      "title": "Factorial Difference-in-Differences Estimation",
      "topics": [
        "fdid"
      ]
    },
    {
      "page": "fdid_list",
      "title": "Create an `fdid_list` Object",
      "topics": [
        "fdid_list"
      ]
    },
    {
      "page": "fdid_prepare",
      "title": "Prepare Data for Factorial Difference-in-Differences Analysis",
      "topics": [
        "fdid_prepare"
      ]
    },
    {
      "page": "mortality",
      "title": "FDID example dataset",
      "topics": [
        "mortality"
      ]
    },
    {
      "page": "plot.fdid",
      "title": "Plot Results from FDID Analysis",
      "topics": [
        "plot.fdid"
      ]
    },
    {
      "page": "plot.fdid_list",
      "title": "Plot Multiple FDID Estimates",
      "topics": [
        "plot.fdid_list"
      ]
    },
    {
      "page": "print.fdid",
      "title": "Print Method for FDID Objects",
      "topics": [
        "print.fdid"
      ]
    },
    {
      "page": "summary.fdid",
      "title": "Summary Method for FDID Objects",
      "topics": [
        "summary.fdid"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "codetools",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "DiceKriging",
    "digest",
    "doBy",
    "doFuture",
    "dplyr",
    "ebal",
    "estimatr",
    "farver",
    "foreach",
    "forecast",
    "Formula",
    "fracdiff",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "grf",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "parallelly",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "fdid.Rmd",
      "filename": "fdid.html",
      "title": "Getting Started with fdid",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Quick example",
        "References"
      ],
      "created": "2026-03-12 07:55:54",
      "modified": "2026-03-12 07:55:54",
      "commits": 1
    }
  ],
  "_score": 4.28330122870355,
  "_indexed": true,
  "_nocasepkg": "fdid",
  "_universes": [
    "xuyiqing"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-24T08:40:18.000Z",
      "distro": "resolute",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "https://r2.ropensci.org/ff61dad196b56d893a3e42322db6b389dcfda0c234cdbf2c41fdb8d4d6b3647c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/40078225789"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-24T08:40:15.000Z",
      "distro": "resolute",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "https://r2.ropensci.org/4c37619b146a394869c1fd042529095311e1b97ac83e3b04153b33ccaab3bfc1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/40078225789"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-24T08:40:20.000Z",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "https://r2.ropensci.org/4066a4bae836b651357014c440dd2a4a35b269edf092775ac37ba295c584fad2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/40078225789"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-24T08:40:03.000Z",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "https://r2.ropensci.org/5294830faf6f2b0eaf8954a0fa1a44c4120742ddc8bb5777b6a7f0a92de94efa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/40078225789"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-10-24T08:40:30.000Z",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "https://r2.ropensci.org/d85246448f0c83a839f74cdf1afa12c3bd0e9c5007e3f5f4aaff0ba2acf0debb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/40078225789"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-24T08:39:18.000Z",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "https://r2.ropensci.org/40e0eeb396bf827692053b294184571ed9b928726da9edae2a3a794faf5638b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/40078225789"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-24T08:39:11.000Z",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "https://r2.ropensci.org/f1cbd6978073bc396a9e65964e2e1a95c2b437b9664b7b3b35521755d078b0a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/40078225789"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-24T08:39:17.000Z",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "https://r2.ropensci.org/6332ae2602dff7e6fbdd3091fbca2e8510934dcaaddd43c437ff4f6ec30eb4c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/40078225789"
    }
  ]
}