{
  "_id": "6a4ce7dc1bd53d33d6ac28d9",
  "Package": "ssBartik",
  "Type": "Package",
  "Title": "An End-to-End Pipeline for Shift-Share (Bartik) Instrumental\nVariables",
  "Version": "0.1.0",
  "Authors@R": "person(\"Takuma\", \"Iwasaki\", email = \"iwasakit@stanford.edu\",\nrole = c(\"aut\", \"cre\"), comment = c(affiliation = \"Stanford University\"))",
  "Description": "Construction, diagnostics, estimation, exposure-robust\ninference and publication-ready visualisation for shift-share\n(Bartik) instrumental variable designs, in one consistent\nworkflow. Organised around the two identification routes of the\nmodern literature: exogenous shares (Goldsmith-Pinkham, Sorkin\nand Swift, 2020, <doi:10.1257/aer.20181047>) with\nRotemberg-weight diagnostics, and exogenous shifts (Borusyak,\nHull and Jaravel, 2022, <doi:10.1093/restud/rdab030>; Adao,\nKolesar and Morales, 2019) with shock-level diagnostics and\nAKM/AKM0 standard errors. Wraps 'ShiftShareSE' for\nexposure-robust inference when available.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "URL": "https://github.com/takuma1102/ssBartik,\nhttps://takuma1102.github.io/ssBartik/",
  "BugReports": "https://github.com/takuma1102/ssBartik/issues",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://takuma1102.r-universe.dev",
  "Date/Publication": "2026-07-07 08:51:11 UTC",
  "RemoteUrl": "https://github.com/takuma1102/ssBartik",
  "RemoteRef": "HEAD",
  "RemoteSha": "30e0544e074e16749627f3e632f03f45a7c4d7f5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-07 11:46:13 UTC",
    "User": "root"
  },
  "Author": "Takuma Iwasaki [aut, cre] (affiliation: Stanford University)",
  "Maintainer": "Takuma Iwasaki <iwasakit@stanford.edu>",
  "_user": "takuma1102",
  "_type": "src",
  "_file": "ssBartik_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d6dec0a6ee9abef77d10be1937e72f836a2da41374110d9caaf9ffbe2f037719",
  "_filesize": 630784,
  "_sha256": "d6dec0a6ee9abef77d10be1937e72f836a2da41374110d9caaf9ffbe2f037719",
  "_expires": "2026-10-15T11:49:46.000Z",
  "_created": "2026-07-07T11:46:13.000Z",
  "_published": "2026-07-07T11:49:48.027Z",
  "_jobs": [
    {
      "job": 85608392301,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8136772012"
    },
    {
      "job": 85608392343,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8136790174"
    },
    {
      "job": 85608392386,
      "time": 81,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8136753643"
    },
    {
      "job": 85608392298,
      "time": 80,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8136753256"
    },
    {
      "job": 85607856235,
      "time": 173,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8136721394"
    },
    {
      "job": 85608392287,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8136765214"
    },
    {
      "job": 85608392340,
      "time": 81,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8136753652"
    },
    {
      "job": 85608392329,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8136753659"
    },
    {
      "job": 85608392314,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8136756410"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28863532700",
  "_status": "success",
  "_upstream": "https://github.com/takuma1102/ssBartik",
  "_commit": {
    "id": "30e0544e074e16749627f3e632f03f45a7c4d7f5",
    "author": "Takuma Iwasaki <94999658+takuma1102@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1783414271
  },
  "_maintainer": {
    "name": "Takuma Iwasaki",
    "email": "iwasakit@stanford.edu"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ShiftShareSE",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "takuma1102",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-27",
      "n": 31
    },
    {
      "week": "2026-28",
      "n": 28
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "takuma1102",
      "count": 59,
      "uuid": 94999658
    }
  ],
  "_userbio": {
    "uuid": 94999658,
    "type": "user",
    "name": "Takuma Iwasaki",
    "followers": 0,
    "description": "Stanford Law School - JSD candidate"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ssBartik"
  },
  "_devurl": "https://github.com/takuma1102/ssbartik",
  "_pkgdown": "https://takuma1102.github.io/ssBartik/",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/ssBartik.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "autoplot",
    "ssb_aggregate",
    "ssb_design",
    "ssb_drop_top",
    "ssb_equivalence",
    "ssb_estimate",
    "ssb_first_stage",
    "ssb_loo",
    "ssb_overid",
    "ssb_pipeline",
    "ssb_placebo",
    "ssb_plot_ci",
    "ssb_plot_loo",
    "ssb_plot_overid",
    "ssb_plot_ri",
    "ssb_plot_rotemberg",
    "ssb_plot_shocks",
    "ssb_pretrend",
    "ssb_recenter",
    "ssb_ri",
    "ssb_rotemberg",
    "ssb_share_balance",
    "ssb_shock_balance",
    "ssb_shock_iv",
    "ssb_shock_summary",
    "ssb_weight_summary",
    "ssbartik"
  ],
  "_help": [
    {
      "page": "format.ssb_drop_top",
      "title": "Render a drop-top-shocks comparison as LaTeX or Markdown",
      "topics": [
        "format.ssb_drop_top"
      ]
    },
    {
      "page": "format.ssb_estimate",
      "title": "Render the estimate / standard-error table as LaTeX or Markdown",
      "topics": [
        "format.ssb_estimate"
      ]
    },
    {
      "page": "format.ssb_loo",
      "title": "Render a leave-one-out table as LaTeX or Markdown",
      "topics": [
        "format.ssb_loo"
      ]
    },
    {
      "page": "format.ssb_overid",
      "title": "Render an overidentification test as LaTeX or Markdown",
      "topics": [
        "format.ssb_overid"
      ]
    },
    {
      "page": "format.ssb_rotemberg",
      "title": "Render the Rotemberg-weight table as paste-ready LaTeX or Markdown",
      "topics": [
        "format.ssb_rotemberg"
      ]
    },
    {
      "page": "format.ssb_shock_balance",
      "title": "Render a shock-balance test as LaTeX or Markdown",
      "topics": [
        "format.ssb_shock_balance"
      ]
    },
    {
      "page": "format.ssb_shocks",
      "title": "Render a shock-exposure summary as LaTeX or Markdown",
      "topics": [
        "format.ssb_shocks"
      ]
    },
    {
      "page": "format.ssb_weight_summary",
      "title": "Render a Rotemberg-weight summary as LaTeX or Markdown",
      "topics": [
        "format.ssb_weight_summary"
      ]
    },
    {
      "page": "plot.ssb_rotemberg",
      "title": "Render the Rotemberg-weight table as a compact booktabs figure",
      "topics": [
        "plot.ssb_rotemberg"
      ]
    },
    {
      "page": "ssb_aggregate",
      "title": "Aggregate a shift-share design to the shock (shifter) level",
      "topics": [
        "ssb_aggregate"
      ]
    },
    {
      "page": "ssb_design",
      "title": "Define a shift-share (Bartik) IV design",
      "topics": [
        "ssb_design"
      ]
    },
    {
      "page": "ssb_drop_top",
      "title": "Re-estimate after dropping the top-weight shocks",
      "topics": [
        "ssb_drop_top"
      ]
    },
    {
      "page": "ssb_equivalence",
      "title": "Check the location-level / shock-level equivalence",
      "topics": [
        "ssb_equivalence"
      ]
    },
    {
      "page": "ssb_estimate",
      "title": "Estimate a shift-share IV regression with several confidence intervals",
      "topics": [
        "ssb_estimate"
      ]
    },
    {
      "page": "ssb_first_stage",
      "title": "First-stage strength: standard and exposure-robust (effective) F",
      "topics": [
        "ssb_first_stage"
      ]
    },
    {
      "page": "ssb_loo",
      "title": "Leave-one-sector-out sensitivity",
      "topics": [
        "ssb_loo"
      ]
    },
    {
      "page": "ssb_overid",
      "title": "Overidentification / cross-instrument homogeneity test",
      "topics": [
        "ssb_overid"
      ]
    },
    {
      "page": "ssb_pipeline",
      "title": "Run the full shift-share analysis pipeline",
      "topics": [
        "ssb_pipeline"
      ]
    },
    {
      "page": "ssb_placebo",
      "title": "Placebo-outcome test",
      "topics": [
        "ssb_placebo"
      ]
    },
    {
      "page": "ssb_plot_ci",
      "title": "Plot the confidence-interval comparison",
      "topics": [
        "ssb_plot_ci"
      ]
    },
    {
      "page": "ssb_plot_loo",
      "title": "Leave-one-out sensitivity plot",
      "topics": [
        "ssb_plot_loo"
      ]
    },
    {
      "page": "ssb_plot_overid",
      "title": "Overidentification dispersion plot",
      "topics": [
        "ssb_plot_overid"
      ]
    },
    {
      "page": "ssb_plot_ri",
      "title": "Randomization-inference plot",
      "topics": [
        "ssb_plot_ri"
      ]
    },
    {
      "page": "ssb_plot_rotemberg",
      "title": "Plot Rotemberg weights (canonical GPSS figure)",
      "topics": [
        "ssb_plot_rotemberg"
      ]
    },
    {
      "page": "ssb_plot_shocks",
      "title": "Exposure-concentration (Lorenz) plot",
      "topics": [
        "ssb_plot_shocks"
      ]
    },
    {
      "page": "ssb_pretrend",
      "title": "Pre-trend test",
      "topics": [
        "ssb_pretrend"
      ]
    },
    {
      "page": "ssb_recenter",
      "title": "Recenter the shocks (Borusyak & Hull)",
      "topics": [
        "ssb_recenter"
      ]
    },
    {
      "page": "ssb_ri",
      "title": "Randomization-inference (placebo-shock) test",
      "topics": [
        "ssb_ri"
      ]
    },
    {
      "page": "ssb_rotemberg",
      "title": "Rotemberg weights for a Bartik instrument",
      "topics": [
        "ssb_rotemberg"
      ]
    },
    {
      "page": "ssb_share_balance",
      "title": "Share balance (exogenous-shares route)",
      "topics": [
        "ssb_share_balance"
      ]
    },
    {
      "page": "ssb_shock_balance",
      "title": "Shock-level balance test",
      "topics": [
        "ssb_shock_balance"
      ]
    },
    {
      "page": "ssb_shock_iv",
      "title": "Shock-level IV estimate",
      "topics": [
        "ssb_shock_iv"
      ]
    },
    {
      "page": "ssb_shock_summary",
      "title": "Shock summary: effective number of shocks and exposure concentration",
      "topics": [
        "ssb_shock_summary"
      ]
    },
    {
      "page": "ssb_table_image",
      "title": "Render a result table as an image (PNG or PDF)",
      "topics": [
        "plot.ssb_drop_top",
        "plot.ssb_estimate",
        "plot.ssb_loo",
        "plot.ssb_overid",
        "plot.ssb_weight_summary",
        "ssb_table_image"
      ]
    },
    {
      "page": "ssb_weight_summary",
      "title": "Rotemberg-weight summary and correlations (GPSS diagnostic table)",
      "topics": [
        "ssb_weight_summary"
      ]
    },
    {
      "page": "ssbartik",
      "title": "One-call shift-share analysis",
      "topics": [
        "ssbartik"
      ]
    }
  ],
  "_readme": "https://github.com/takuma1102/ssBartik/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "ssbartik",
  "_universes": [
    "takuma1102"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-07T11:48:18.000Z",
      "distro": "resolute",
      "commit": "30e0544e074e16749627f3e632f03f45a7c4d7f5",
      "fileid": "https://r2.ropensci.org/6e1681a2843c56ade425565494bd0e0de939a15d5dfa4b194834343ffe7b8deb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28863532700"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-07T11:49:00.000Z",
      "distro": "resolute",
      "commit": "30e0544e074e16749627f3e632f03f45a7c4d7f5",
      "fileid": "https://r2.ropensci.org/188176c91da36fd93afe3123be102374af5a5becabdb298e770d7f8a22caa3c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28863532700"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-07T11:47:37.000Z",
      "commit": "30e0544e074e16749627f3e632f03f45a7c4d7f5",
      "fileid": "https://r2.ropensci.org/da848ae290d254aa01441eace51863a7148063df3e39148b6e6d8dccc19f7db6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28863532700"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-07T11:47:35.000Z",
      "commit": "30e0544e074e16749627f3e632f03f45a7c4d7f5",
      "fileid": "https://r2.ropensci.org/a865cc5dbe30ec5bed860d305d79faffba7768f9b3b911c00d64a938d27b43c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28863532700"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-07T11:48:22.000Z",
      "commit": "30e0544e074e16749627f3e632f03f45a7c4d7f5",
      "fileid": "https://r2.ropensci.org/7137ad8f2d1ef28a7ee2efadec71798ea8377eef8c7e84753c8e7bde12fd353f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28863532700"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-07T11:47:23.000Z",
      "commit": "30e0544e074e16749627f3e632f03f45a7c4d7f5",
      "fileid": "https://r2.ropensci.org/d4721ecbbb5ded3afcb68a2feeac2b53fd11f1e7a3846cfbdee2d1dee7b7f662",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28863532700"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-07T11:47:23.000Z",
      "commit": "30e0544e074e16749627f3e632f03f45a7c4d7f5",
      "fileid": "https://r2.ropensci.org/e68a3ab0b110c96fc4c44d07b935b64fa488a1f4e8e7d979b2cfc340c0cdb4e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28863532700"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-07T11:47:30.000Z",
      "commit": "30e0544e074e16749627f3e632f03f45a7c4d7f5",
      "fileid": "https://r2.ropensci.org/4785779600150268ede7b41c65b4e659c1a6872293f65ba90c162b7b19fee008",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/28863532700"
    }
  ]
}