{
  "_id": "6ab0fd4a3d719c1f84085718",
  "Package": "pcdid",
  "Type": "Package",
  "Title": "Principal Components Difference-in-Differences",
  "Version": "1.0.0.9000",
  "Date": "2025-09-13",
  "Authors@R": "c(person(\"Marc\", \"Chan\", , \"marc.chan@unimelb.edu.au\", role = c(\"aut\"), comment = c(ORCID = \"0000-0002-1010-7587\")), person(\"Xiaolei\", \"Wang\", , \"adamwang15@gmail.com\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0009-0005-6192-9061\")))",
  "Maintainer": "Xiaolei Wang <adamwang15@gmail.com>",
  "Description": "Implements the Principal Components\nDifference-in-Differences estimators as described in Chan, M.\nK., & Kwok, S. S. (2022) <doi:10.1080/07350015.2021.1914636>.",
  "License": "GPL (>= 3)",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "URL": "https://github.com/adamwang15/pcdid",
  "BugReports": "https://github.com/adamwang15/pcdid/issues",
  "Repository": "https://adamwang15.r-universe.dev",
  "Date/Publication": "2026-08-22 06:30:59 UTC",
  "RemoteUrl": "https://github.com/adamwang15/pcdid",
  "RemoteRef": "HEAD",
  "RemoteSha": "6f62a684fc2b9354df7a586b5d1854848e65873a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-21 09:44:22 UTC",
    "User": "root"
  },
  "Author": "Marc Chan [aut] (ORCID: <https://orcid.org/0000-0002-1010-7587>),\nXiaolei Wang [aut, cre] (ORCID:\n<https://orcid.org/0009-0005-6192-9061>)",
  "_user": "adamwang15",
  "_type": "src",
  "_file": "pcdid_1.0.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/a01bfc113c1bad89229ecf1624f71841dab7754db57b5327124c34a2aae392cc",
  "_filesize": 229927,
  "_sha256": "a01bfc113c1bad89229ecf1624f71841dab7754db57b5327124c34a2aae392cc",
  "_expires": "2026-12-30T09:47:52.000Z",
  "_created": "2026-09-21T09:44:22.000Z",
  "_published": "2026-09-21T09:47:54.155Z",
  "_jobs": [
    {
      "job": 106286111327,
      "time": 103,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10632035930"
    },
    {
      "job": 106286111374,
      "time": 105,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10632026257"
    },
    {
      "job": 106286111339,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10632090440"
    },
    {
      "job": 106286111417,
      "time": 167,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10631764414"
    },
    {
      "job": 106285237598,
      "time": 180,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10631577816"
    },
    {
      "job": 106286111294,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10630889595"
    },
    {
      "job": 106286111447,
      "time": 61,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10631449770"
    },
    {
      "job": 106286111424,
      "time": 57,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10631499785"
    },
    {
      "job": 106286111300,
      "time": 61,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10631134122"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/adamwang15/actions/runs/35584661987",
  "_status": "success",
  "_upstream": "https://github.com/adamwang15/pcdid",
  "_commit": {
    "id": "6f62a684fc2b9354df7a586b5d1854848e65873a",
    "author": "adamwang15 <adamwang15@gmail.com>",
    "committer": "adamwang15 <adamwang15@gmail.com>",
    "message": "refactor output\n",
    "time": 1787380259
  },
  "_maintainer": {
    "name": "Xiaolei Wang",
    "email": "adamwang15@gmail.com",
    "login": "adamwang15",
    "description": "Economics PhD student",
    "uuid": 125186547,
    "orcid": "0009-0005-6192-9061"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "lmtest",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "adamwang15",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 6
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-34",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "adamwang15",
      "count": 37,
      "uuid": 125186547
    }
  ],
  "_userbio": {
    "uuid": 125186547,
    "type": "user",
    "name": "adamwang15",
    "followers": 17,
    "description": "Economics PhD student"
  },
  "_downloads": {
    "count": 150,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pcdid"
  },
  "_devurl": "https://github.com/adamwang15/pcdid",
  "_searchresults": 2,
  "_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/pcdid.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/adamwang15/pcdid",
  "_realowner": "adamwang15",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-09-18"
    }
  ],
  "_exports": [
    "generate_W",
    "pcdid",
    "sfdid"
  ],
  "_datasets": [
    {
      "name": "welfare",
      "title": "Welfare caseloads data",
      "object": "welfare",
      "class": [
        "data.frame"
      ],
      "fields": [
        "state",
        "statenum",
        "trend",
        "treated",
        "treated_post",
        "lncase",
        "afdcben",
        "unemp",
        "empratio",
        "mon_d2",
        "mon_d3",
        "mon_d4",
        "caseload",
        "popn",
        "empratio_raw",
        "south",
        "control",
        "T0"
      ],
      "rows": 5967,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "generate_W",
      "title": "Generate Spatial Weight Matrix",
      "topics": [
        "generate_W"
      ]
    },
    {
      "page": "pcdid",
      "title": "Principal Components Difference-in-Differences",
      "topics": [
        "pcdid"
      ]
    },
    {
      "page": "sfdid",
      "title": "Spatial Factor Difference-in-Differences",
      "topics": [
        "sfdid"
      ]
    },
    {
      "page": "welfare",
      "title": "Welfare caseloads data",
      "topics": [
        "welfare"
      ]
    }
  ],
  "_readme": "https://github.com/adamwang15/pcdid/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "lmtest",
    "MASS",
    "sandwich",
    "zoo"
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "pcdid",
  "_universes": [
    "adamwang15"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0.9000",
      "date": "2026-09-21T09:46:13.000Z",
      "distro": "resolute",
      "commit": "6f62a684fc2b9354df7a586b5d1854848e65873a",
      "fileid": "https://r2.ropensci.org/72aadd9163a16bacfbd40ae0c9a596052e98bfd3791c7c3c508810bab4ccd606",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/adamwang15/actions/runs/35584661987"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0.9000",
      "date": "2026-09-21T09:46:50.000Z",
      "distro": "resolute",
      "commit": "6f62a684fc2b9354df7a586b5d1854848e65873a",
      "fileid": "https://r2.ropensci.org/05780c77b4e6c1fdb12ef0868f48f6176ee054217683c9d9d675120e5c506cbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/adamwang15/actions/runs/35584661987"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0.9000",
      "date": "2026-09-21T09:46:44.000Z",
      "commit": "6f62a684fc2b9354df7a586b5d1854848e65873a",
      "fileid": "https://r2.ropensci.org/e4355005aca81f0cbd75339dee169fe34d83b2a617cd5577f0eafb74215b76e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/adamwang15/actions/runs/35584661987"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0.9000",
      "date": "2026-09-21T09:46:39.000Z",
      "commit": "6f62a684fc2b9354df7a586b5d1854848e65873a",
      "fileid": "https://r2.ropensci.org/979b9d5b52f7325d8000e4f04a253d17d57a165cf13f3070faae6331822cea70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/adamwang15/actions/runs/35584661987"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0.9000",
      "date": "2026-09-21T09:46:18.000Z",
      "commit": "6f62a684fc2b9354df7a586b5d1854848e65873a",
      "fileid": "https://r2.ropensci.org/56b5c2c1933b8690c35103220b8aba24b3532eea280aa412b7d497fc8700735b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/adamwang15/actions/runs/35584661987"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0.9000",
      "date": "2026-09-21T09:45:26.000Z",
      "commit": "6f62a684fc2b9354df7a586b5d1854848e65873a",
      "fileid": "https://r2.ropensci.org/df9393bbb1f580a1766c0470982b5e343d950360d62686c98884f743f319fa99",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/adamwang15/actions/runs/35584661987"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0.9000",
      "date": "2026-09-21T09:45:21.000Z",
      "commit": "6f62a684fc2b9354df7a586b5d1854848e65873a",
      "fileid": "https://r2.ropensci.org/d9e7a33141ebd09e60245004d295c5ec95245c1710709a196e8e408b15b3e763",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/adamwang15/actions/runs/35584661987"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0.9000",
      "date": "2026-09-21T09:45:25.000Z",
      "commit": "6f62a684fc2b9354df7a586b5d1854848e65873a",
      "fileid": "https://r2.ropensci.org/b460cc462937900dc156e2c86acb1d8d5db777892911621b25a1fa1d640f4398",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/adamwang15/actions/runs/35584661987"
    }
  ]
}