{
  "_id": "6a114d7eacfb0bcc41ce9163",
  "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-05-23 06:43:45 UTC",
    "User": "root"
  },
  "Author": "Yiqing Xu [aut, cre],\nRivka Lipkovitz [aut],\nEnhan Liu [aut]",
  "Maintainer": "Yiqing Xu <yiqingxu@stanford.edu>",
  "MD5sum": "5a40b90fbe68513eed2edc352728f040",
  "_user": "xuyiqing",
  "_type": "src",
  "_file": "fdid_1.0.2.tar.gz",
  "_fileid": "7045e11eed3abe0bd8536f520c8a5b7645f8c558db47098b910551d3aff002e4",
  "_filesize": 297848,
  "_sha256": "7045e11eed3abe0bd8536f520c8a5b7645f8c558db47098b910551d3aff002e4",
  "_created": "2026-05-23T06:43:45.000Z",
  "_published": "2026-05-23T06:47:26.066Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77503948496,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175031516"
    },
    {
      "job": 77503948505,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175028599"
    },
    {
      "job": 77503948492,
      "time": 82,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175022396"
    },
    {
      "job": 77503948493,
      "time": 84,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175022581"
    },
    {
      "job": 77503772073,
      "time": 222,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175014337"
    },
    {
      "job": 77503948494,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175026792"
    },
    {
      "job": 77503948506,
      "time": 117,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175025765"
    },
    {
      "job": 77503948513,
      "time": 149,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175028765"
    },
    {
      "job": 77503948511,
      "time": 114,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175025870"
    }
  ],
  "_buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/26325995298",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/xuyiqing/fdid",
  "_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
  },
  "_maintainer": {
    "name": "Yiqing Xu",
    "email": "yiqingxu@stanford.edu"
  },
  "_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": "2025-25",
      "n": 4
    },
    {
      "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",
    "description": "Assistant Professor at Stanford PoliSci"
  },
  "_downloads": {
    "count": 175,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/fdid"
  },
  "_devurl": "https://github.com/xuyiqing/fdid",
  "_searchresults": 14,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/fdid.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_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",
    "microbenchmark",
    "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.3222192947339195,
  "_indexed": true,
  "_nocasepkg": "fdid",
  "_universes": [
    "xuyiqing"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-23T06:46:20.000Z",
      "distro": "noble",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "97cae7894afe0b92a1447d7319b43e5dbac66ae8ea563d9b57a97b8476e7385d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/26325995298"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-23T06:45:56.000Z",
      "distro": "noble",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "3d89db0602ffd5938538f91fc56f834de45672615419add29e207a1c1ef8c20e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/26325995298"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-23T06:45:05.000Z",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "6581875c01e0bbf3d7f2dbda282e1ff1fd7f7f679ce57751795abca3d8d2f575",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/26325995298"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-23T06:45:05.000Z",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "4bc08509d2a5271ef84869f0e9b55c7771beadacbf0ddfb35e28898a335612b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/26325995298"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-05-23T06:46:11.000Z",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "c9936ab7944da828f870a05e44cdb2be08db72e968daf0b4eac036d7edbab3f7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/26325995298"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-23T06:45:16.000Z",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "b0b51d2a7ee6c80cc8e5e371a85dba5b75cf6e21329f3db8200c8a54f8fcb294",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/26325995298"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-23T06:45:50.000Z",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "86ad27c220afb804e5f0da6cb6b880d2c0fafcfba845fd8e1f944b675127a1b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/26325995298"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-23T06:45:21.000Z",
      "commit": "defdd389959ee64fc0685f50a37532db9aaa80f6",
      "fileid": "02dd73b8d75f34c462bbfc8bdebe37454531869c473e3f8407debbc5fe3d0f77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xuyiqing/actions/runs/26325995298"
    }
  ]
}