{
  "_id": "6ae5e63f8d250e7ad09f41e7",
  "Package": "ssBartik",
  "Type": "Package",
  "Title": "End-to-End Pipeline for Shift-Share (Bartik) Instrumental\nVariables",
  "Version": "0.2.1",
  "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. The exogenous share approach refers to\nGoldsmith-Pinkham, Sorkin and Swift (2020)\n<doi:10.1257/aer.20181047> and the exogenous shift approach\nrefers to Borusyak, Hull and Jaravel (2022)\n<doi:10.1093/restud/rdab030> and Adao, Kolesar and Morales\n(2019) <doi:10.1093/qje/qjz025>. 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-09-01 21:02:34 UTC",
  "RemoteUrl": "https://github.com/takuma1102/ssBartik",
  "RemoteRef": "HEAD",
  "RemoteSha": "69d1d2f8daae00e888af2fa71a31df3e65345d27",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-31 11:49:47 UTC",
    "User": "root"
  },
  "Author": "Takuma Iwasaki [aut, cre] (affiliation: Stanford University)",
  "Maintainer": "Takuma Iwasaki <iwasakit@stanford.edu>",
  "_user": "takuma1102",
  "_type": "src",
  "_file": "ssBartik_0.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/9771ad1de0cd1158b23964a9a502e1c8a9b252160561bec1ce64f2a51ab1ad37",
  "_filesize": 686818,
  "_sha256": "9771ad1de0cd1158b23964a9a502e1c8a9b252160561bec1ce64f2a51ab1ad37",
  "_expires": "2027-02-08T12:59:41.000Z",
  "_created": "2026-10-31T11:49:47.000Z",
  "_published": "2026-10-31T12:59:43.636Z",
  "_upstream": "https://github.com/takuma1102/ssBartik",
  "_status": "success",
  "_maintainer": {
    "name": "Takuma Iwasaki",
    "email": "iwasakit@stanford.edu"
  },
  "_jobs": [
    {
      "job": 124529384525,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13041871317"
    },
    {
      "job": 124529384569,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13041706832"
    },
    {
      "job": 124529384558,
      "time": 222,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13044015299"
    },
    {
      "job": 124529384504,
      "time": 162,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13043925364"
    },
    {
      "job": 124528856855,
      "time": 159,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13041806371"
    },
    {
      "job": 124529384416,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13042025490"
    },
    {
      "job": 124529384464,
      "time": 82,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13041771610"
    },
    {
      "job": 124529384488,
      "time": 83,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13040484760"
    },
    {
      "job": 124529384507,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13041537264"
    }
  ],
  "_buildurl": "https://github.com/r-universe/takuma1102/actions/runs/41198284156",
  "_commit": {
    "id": "69d1d2f8daae00e888af2fa71a31df3e65345d27",
    "author": "takuma1102 <takuma.iwasaki1102@gmail.com>",
    "committer": "takuma1102 <takuma.iwasaki1102@gmail.com>",
    "message": "debugging\n",
    "time": 1788296554
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 35
    },
    {
      "week": "2026-30",
      "n": 3
    },
    {
      "week": "2026-36",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "takuma1102",
      "count": 70,
      "uuid": 94999658
    }
  ],
  "_userbio": {
    "uuid": 94999658,
    "type": "user",
    "name": "Takuma Iwasaki",
    "followers": 0,
    "description": "Stanford Law School - JSD candidate"
  },
  "_downloads": {
    "count": 174,
    "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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/ssBartik.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/takuma1102/ssbartik",
  "_realowner": "takuma1102",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2026-07-19"
    }
  ],
  "_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_simulate",
    "ssb_weight_summary",
    "ssbartik"
  ],
  "_help": [
    {
      "page": "format.ssb_drop_top",
      "title": "Render a drop-top-share-instruments 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 sectors",
      "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 (shock-level) F",
      "topics": [
        "ssb_first_stage"
      ]
    },
    {
      "page": "ssb_loo",
      "title": "Leave-one-sector-out sensitivity",
      "topics": [
        "ssb_loo"
      ]
    },
    {
      "page": "ssb_overid",
      "title": "Overidentification test across the share instruments (Sargan-Hansen)",
      "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 with exposure-robust standard errors",
      "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": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "ssbartik",
  "_universes": [
    "takuma1102"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-10-31T11:51:37.000Z",
      "distro": "resolute",
      "commit": "69d1d2f8daae00e888af2fa71a31df3e65345d27",
      "fileid": "https://r2.ropensci.org/76d9397c1001e84e9cf9f6411e55871cb920f43bcaa24a77456515b982ee8441",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/41198284156"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-10-31T11:51:36.000Z",
      "distro": "resolute",
      "commit": "69d1d2f8daae00e888af2fa71a31df3e65345d27",
      "fileid": "https://r2.ropensci.org/2fe5c1083f6aec2b98b2be6ff5b92df50df08cc8ff526560e8f787f4a175722f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/41198284156"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-10-31T12:58:06.000Z",
      "commit": "69d1d2f8daae00e888af2fa71a31df3e65345d27",
      "fileid": "https://r2.ropensci.org/15575d062a1e92d38519131d410fe56f82a38c233f4f06d416c8daa728247712",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/41198284156"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-10-31T12:56:34.000Z",
      "commit": "69d1d2f8daae00e888af2fa71a31df3e65345d27",
      "fileid": "https://r2.ropensci.org/f2fb295f2d3ac1727b834ee6076d7cf9d0623ee625b4478cf41a93865ad0f472",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/41198284156"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-10-31T11:51:30.000Z",
      "commit": "69d1d2f8daae00e888af2fa71a31df3e65345d27",
      "fileid": "https://r2.ropensci.org/e7abff78af0310e0a5a5d5e40682e176a12e96567f1113cfa2c34274e2d68e89",
      "status": "success",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/41198284156"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-31T11:50:53.000Z",
      "commit": "69d1d2f8daae00e888af2fa71a31df3e65345d27",
      "fileid": "https://r2.ropensci.org/2e802fd6c9066290c33bb7c2fc8719f701db2746e19bfa705916e4971aa681c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/41198284156"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-31T11:50:52.000Z",
      "commit": "69d1d2f8daae00e888af2fa71a31df3e65345d27",
      "fileid": "https://r2.ropensci.org/422e42f6ff4c98305a4879abb616d555fba7656497d1826e15585f7bf0d1b20e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/41198284156"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-10-31T11:50:46.000Z",
      "commit": "69d1d2f8daae00e888af2fa71a31df3e65345d27",
      "fileid": "https://r2.ropensci.org/0e16fa0ba3fd3a281b505670bc7e22e2c8ceb1d27d460e940a59c37a60245e47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/takuma1102/actions/runs/41198284156"
    }
  ]
}