{
  "_id": "6ac78150de46216d5edd11ac",
  "Package": "icio",
  "Version": "1.0.0",
  "Title": "Global Value Chain Decomposition of Inter-Country Input-Output\nTables",
  "Description": "Four global value chain (GVC) decompositions are\nimplemented. The Leontief decomposition derives the value added\norigin of exports by country and industry as in Hummels, Ishii\nand Yi (2001). The Koopman, Wang and Wei (2014) decomposition\nsplits country-level exports into 9 value added components, and\nthe Wang, Wei and Zhu (2013) decomposition splits bilateral\nexports into 16 value added components. The Borin and Mancini\n(2019) decomposition splits country-, sector- or\nbilateral-level exports into up to 13 value added and GVC\ncomponents, and also provides a corrected version of the\n(biased) Koopman-Wang-Wei decomposition. It is the recommended\nmethod and reproduces the Stata 'icio' command. --- References:\n--- Hummels, D., Ishii, J., & Yi, K. M. (2001). The nature and\ngrowth of vertical specialization in world trade. Journal of\ninternational Economics, 54(1), 75-96. Koopman, R., Wang, Z., &\nWei, S. J. (2014). Tracing value-added and double counting in\ngross exports. American Economic Review, 104(2), 459-94. Wang,\nZ., Wei, S. J., & Zhu, K. (2013). Quantifying international\nproduction sharing at the bilateral and sector levels (No.\nw19677). National Bureau of Economic Research. Borin, A., &\nMancini, M. (2019). Measuring What Matters in Global Value\nChains and Value-Added Trade. World Bank Policy Research\nWorking Paper 8804.",
  "Authors@R": "c(\nperson(\"Sebastian\", \"Krantz\", role = c(\"aut\", \"cre\"),\nemail = \"sebastian.krantz@graduateinstitute.ch\"),\nperson(\"Bastiaan\", \"Quast\", role = \"aut\",\nemail = \"bquast@gmail.com\", comment = c(ORCID = \"0000-0002-2951-3577\")),\nperson(\"Fei\", \"Wang\", role = \"aut\"),\nperson(\"Victor\", \"Stolzenburg\", role = \"aut\"),\nperson(\"Oliver\", \"Reiter\", role = \"ctb\")\n)",
  "Maintainer": "Sebastian Krantz <sebastian.krantz@graduateinstitute.ch>",
  "License": "GPL-3",
  "URL": "https://sebkrantz.github.io/icio/,\nhttps://github.com/SebKrantz/icio",
  "BugReports": "https://github.com/SebKrantz/icio/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://sebkrantz.r-universe.dev",
  "Date/Publication": "2026-07-27 17:39:11 UTC",
  "RemoteUrl": "https://github.com/sebkrantz/icio",
  "RemoteRef": "HEAD",
  "RemoteSha": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
  "Packaged": {
    "Date": "2026-10-08 10:54:56 UTC",
    "User": "root"
  },
  "Author": "Sebastian Krantz [aut, cre],\nBastiaan Quast [aut] (ORCID: <https://orcid.org/0000-0002-2951-3577>),\nFei Wang [aut],\nVictor Stolzenburg [aut],\nOliver Reiter [ctb]",
  "_user": "sebkrantz",
  "_type": "src",
  "_file": "icio_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/f6a65b704e99e91ed664aa362917ac9fbf78a77ce2bc098685377911eab25491",
  "_filesize": 267141,
  "_sha256": "f6a65b704e99e91ed664aa362917ac9fbf78a77ce2bc098685377911eab25491",
  "_expires": "2027-01-16T11:41:02.000Z",
  "_created": "2026-10-08T10:54:56.000Z",
  "_published": "2026-10-08T11:41:04.333Z",
  "_buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113275827827,
      "time": 135,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11544373780"
    },
    {
      "job": 113275828043,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11544533775"
    },
    {
      "job": 113275827790,
      "time": 130,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11545085347"
    },
    {
      "job": 113275827763,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11544757412"
    },
    {
      "job": 113275827794,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11547510959"
    },
    {
      "job": 113275827944,
      "time": 298,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11544623959"
    },
    {
      "job": 113275827873,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11548691144"
    },
    {
      "job": 113275827830,
      "time": 278,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11545085784"
    },
    {
      "job": 113274689352,
      "time": 184,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11544568328"
    },
    {
      "job": 113275827761,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11545040411"
    },
    {
      "job": 113275827981,
      "time": 350,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11544728486"
    },
    {
      "job": 113275827807,
      "time": 140,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11544404224"
    },
    {
      "job": 113275827872,
      "time": 71,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11544583343"
    },
    {
      "job": 113275827845,
      "time": 360,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11545735986"
    },
    {
      "job": 113275827828,
      "time": 63,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11546120030"
    }
  ],
  "_upstream": "https://github.com/sebkrantz/icio",
  "_commit": {
    "id": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
    "author": "Sebastian Krantz <sebastian.krantz@graduateinstitute.ch>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #6 from SebKrantz/icio\n\nREADME: list the Stata icio command under Related",
    "time": 1785173951
  },
  "_maintainer": {
    "name": "Sebastian Krantz",
    "email": "sebastian.krantz@graduateinstitute.ch",
    "login": "sebkrantz",
    "mastodon": "@sebkrantz@fosstodon.org",
    "bluesky": "@sebkrantz.bsky.social",
    "description": "Economist and Software Engineer",
    "uuid": 48053842
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "sebkrantz",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 4
    },
    {
      "week": "2026-24",
      "n": 22
    },
    {
      "week": "2026-27",
      "n": 2
    },
    {
      "week": "2026-31",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-07-27"
    }
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "bquast",
      "count": 392,
      "uuid": 2590349
    },
    {
      "user": "sebkrantz",
      "count": 69,
      "uuid": 48053842
    },
    {
      "user": "zauster",
      "count": 9,
      "uuid": 1446298
    }
  ],
  "_userbio": {
    "uuid": 48053842,
    "type": "user",
    "name": "Sebastian Krantz",
    "followers": 368,
    "description": "Economist and Software Engineer"
  },
  "_downloads": {
    "count": 430,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/icio"
  },
  "_devurl": "https://github.com/sebkrantz/icio",
  "_pkgdown": "https://sebkrantz.github.io/icio/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/icio.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/sebkrantz/icio",
  "_realowner": "sebkrantz",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-09-08"
    }
  ],
  "_exports": [
    "bm",
    "decomp",
    "kww",
    "leontief",
    "load_icio",
    "load_icio_csv",
    "wwz",
    "wwz2kww"
  ],
  "_datasets": [
    {
      "name": "leather",
      "title": "Leather Example ICIO Data",
      "object": "leather",
      "file": "leather.rda",
      "class": [
        "iot"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "icio-package",
      "title": "Global Value Chain Decomposition of Inter-Country Input-Output Tables",
      "topics": [
        "icio-package",
        "icio"
      ]
    },
    {
      "page": "bm",
      "title": "Borin-Mancini Decomposition of Gross Exports and Imports",
      "topics": [
        "bm"
      ]
    },
    {
      "page": "decomp",
      "title": "Run a GVC Decomposition",
      "topics": [
        "decomp"
      ]
    },
    {
      "page": "kww",
      "title": "Koopman-Wang-Wei Decomposition of Gross Exports",
      "topics": [
        "kww"
      ]
    },
    {
      "page": "leather",
      "title": "Leather Example ICIO Data",
      "topics": [
        "leather"
      ]
    },
    {
      "page": "leontief",
      "title": "Leontief Decomposition",
      "topics": [
        "leontief"
      ]
    },
    {
      "page": "load_icio",
      "title": "Load an Inter-Country Input-Output Table",
      "topics": [
        "load_icio"
      ]
    },
    {
      "page": "load_icio_csv",
      "title": "Load an ICIO Table from the 'icio' CSV Format",
      "topics": [
        "load_icio_csv"
      ]
    },
    {
      "page": "wwz",
      "title": "Wang-Wei-Zhu Decomposition of Gross Exports",
      "topics": [
        "wwz"
      ]
    },
    {
      "page": "wwz2kww",
      "title": "Koopman-Wang-Wei from Wang-Wei-Zhu Decomposition",
      "topics": [
        "wwz2kww"
      ]
    }
  ],
  "_readme": "https://github.com/sebkrantz/icio/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "matrixStats"
  ],
  "_vignettes": [
    {
      "source": "icio.Rmd",
      "filename": "icio.html",
      "title": "Global Value Chain Decomposition with icio",
      "author": "Sebastian Krantz",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The leather dataset",
        "Building an icio object",
        "Leontief decomposition",
        "Koopman-Wang-Wei (KWW) decomposition",
        "Wang-Wei-Zhu (WWZ) decomposition",
        "Borin-Mancini (BM) decomposition",
        "Country level (exporter perspective, 13 terms)",
        "Sector level",
        "Bilateral sector level",
        "Corrected KWW (world perspective, 9 terms)",
        "WWZ vs. BM (exporter/source): different perimeters",
        "Convenience interface",
        "Output format",
        "References"
      ],
      "created": "2026-07-27 17:33:51",
      "modified": "2026-07-27 17:33:51",
      "commits": 1
    }
  ],
  "_score": 5.380211241711606,
  "_indexed": true,
  "_nocasepkg": "icio",
  "_universes": [
    "sebkrantz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-08T10:57:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/5af498baa02e1d26597e53657edd7596eb0ebc735f7609ec8165817bbd0fdbf9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-08T10:57:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/cbb036b8e30b55585e7ef7c94120fb508da49dfeb3255b942df6ee078a32cab2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-08T10:57:12.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/ad24da2348c4222527592a7f894f7113fc83f6dfa2270900c1ed3c5496d0bbe7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-08T10:56:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/a9f5d9a6cd5265161f2c4bf516f27c379daf00f8c776785df8b78065f8c51e30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-08T11:32:17.000Z",
      "arch": "aarch64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/e85a596261bc924d36aa0d0af7f8e786ea513779f37947b75ad10ecc364bd678",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-08T10:59:20.000Z",
      "arch": "x86_64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/694ebadb69e7a734eb786880237d7431a31263ad74047ae1a31c9aca98e221dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-08T11:40:24.000Z",
      "arch": "aarch64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/447679e48f0e54fbf2d24e1ff47554d42348d95b15d330471d7039b29d8d0213",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-08T10:59:00.000Z",
      "arch": "x86_64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/e6d6af427efdbab3cce124abcf1bb8facfac118e39e2f52c7a936be756fb6440",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-08T10:56:50.000Z",
      "arch": "emscripten",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/89a7baac25a0b2d03ab5f0f19f714ba64be54fb0dcc7710f33455aa074c2d5d1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T10:59:51.000Z",
      "arch": "aarch64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/1e593565e032acb3af2f363966273c9b4cc829aa7f4029bf8560efb31134094d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T10:56:14.000Z",
      "arch": "x86_64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/44569969fcfb50a5fe8d6f73070ed83f7e0b11bb626a899ed95a5d4aca6c64ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T10:56:03.000Z",
      "arch": "x86_64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/554c802723f72a2202ca4d498d3f3c195b0940ac05a10bddafd7b108aef61e62",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T11:00:23.000Z",
      "arch": "aarch64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/4de9e3cf47d69df58c3631fc7affabea55785c271fbc0aaf6939a11bc0bad99a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-08T10:55:52.000Z",
      "arch": "x86_64",
      "commit": "a78e1816b19b08215796c4ec68fa1ee2e65e98b1",
      "fileid": "https://r2.ropensci.org/319d69b3a3d1ac7b4f67a98062c3233352d4d2ef5353266324681aa2a88a64a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebkrantz/actions/runs/37766243694"
    }
  ]
}