{
  "_id": "6aafcb833d719c1f840822fb",
  "Package": "decompr",
  "Version": "6.9.0",
  "Title": "Global Value Chain Decomposition",
  "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. Various GVC indicators based on these\ndecompositions are computed in the complimentary 'gvc' package.\n--- References: --- Hummels, D., Ishii, J., & Yi, K. M. (2001).\nThe nature and growth of vertical specialization in world\ntrade. Journal of international Economics, 54(1), 75-96.\nKoopman, R., Wang, Z., & Wei, S. J. (2014). Tracing value-added\nand double counting in gross exports. American Economic Review,\n104(2), 459-94. Wang, Z., Wei, S. J., & Zhu, K. (2013).\nQuantifying international production sharing at the bilateral\nand sector levels (No. w19677). National Bureau of Economic\nResearch. Borin, A., & Mancini, M. (2019). Measuring What\nMatters in Global Value Chains and Value-Added Trade. World\nBank Policy Research Working Paper 8804.",
  "Authors@R": "c(\nperson(\"Bastiaan\", \"Quast\", role = c(\"aut\", \"cre\"),\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\"),\nperson(\"Sebastian\", \"Krantz\", role = \"ctb\")\n)",
  "Maintainer": "Bastiaan Quast <bquast@gmail.com>",
  "License": "GPL-3",
  "URL": "https://github.com/bquast/decompr",
  "BugReports": "https://github.com/bquast/decompr/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "Config/roxygen2/version": "8.0.0",
  "RoxygenNote": "7.3.3",
  "Repository": "https://bquast.r-universe.dev",
  "Date/Publication": "2026-06-09 09:53:44 UTC",
  "RemoteUrl": "https://github.com/bquast/decompr",
  "RemoteRef": "HEAD",
  "RemoteSha": "8686547d3df53f1e087bdaf694e35b67ddf16119",
  "Packaged": {
    "Date": "2026-09-20 11:57:20 UTC",
    "User": "root"
  },
  "Author": "Bastiaan Quast [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2951-3577>),\nFei Wang [aut],\nVictor Stolzenburg [aut],\nOliver Reiter [ctb],\nSebastian Krantz [ctb]",
  "_user": "bquast",
  "_type": "src",
  "_file": "decompr_6.9.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/498f9d50d00b7203c0dde36c400d3199e1f38950654d0028fc132319eb4a1151",
  "_filesize": 223758,
  "_sha256": "498f9d50d00b7203c0dde36c400d3199e1f38950654d0028fc132319eb4a1151",
  "_expires": "2026-12-29T12:03:13.000Z",
  "_created": "2026-09-20T11:57:20.000Z",
  "_published": "2026-09-20T12:03:15.163Z",
  "_jobs": [
    {
      "job": 106074200526,
      "time": 112,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10604763923"
    },
    {
      "job": 106074200500,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10603944201"
    },
    {
      "job": 106074200489,
      "time": 103,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10603924146"
    },
    {
      "job": 106074200474,
      "time": 124,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10604878432"
    },
    {
      "job": 106074200472,
      "time": 77,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10604729069"
    },
    {
      "job": 106074200506,
      "time": 160,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10604664202"
    },
    {
      "job": 106074200478,
      "time": 79,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10604748932"
    },
    {
      "job": 106074200468,
      "time": 225,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10604029176"
    },
    {
      "job": 106073865013,
      "time": 170,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10604133820"
    },
    {
      "job": 106074200441,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10604354657"
    },
    {
      "job": 106074200651,
      "time": 305,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10604808938"
    },
    {
      "job": 106074200593,
      "time": 98,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10604932915"
    },
    {
      "job": 106074200613,
      "time": 66,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10604644012"
    },
    {
      "job": 106074200566,
      "time": 320,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10603999373"
    },
    {
      "job": 106074200619,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10604961459"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025",
  "_status": "success",
  "_upstream": "https://github.com/bquast/decompr",
  "_commit": {
    "id": "8686547d3df53f1e087bdaf694e35b67ddf16119",
    "author": "Bastiaan Quast <bquast@gmail.com>",
    "committer": "Bastiaan Quast <bquast@gmail.com>",
    "message": "back to the old, not listening to rstudio pendantic\n",
    "time": 1780998824
  },
  "_maintainer": {
    "name": "Bastiaan Quast",
    "email": "bquast@gmail.com",
    "login": "bquast",
    "orcid": "0000-0002-2951-3577",
    "twitter": "@baquast",
    "description": "Machine Learning engineer | author of py, R packages: transformer, attention, rnn, HomomorphicEncryption, HEtools llama.go, mlx-profiler",
    "uuid": 2590349
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "gvc",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bquast",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-24",
      "n": 10
    }
  ],
  "_tags": [
    {
      "name": "6.9.0",
      "date": "2026-06-09"
    }
  ],
  "_stars": 20,
  "_contributors": [
    {
      "user": "bquast",
      "count": 392,
      "uuid": 2590349
    },
    {
      "user": "sebkrantz",
      "count": 35,
      "uuid": 48053842
    },
    {
      "user": "zauster",
      "count": 9,
      "uuid": 1446298
    }
  ],
  "_userbio": {
    "uuid": 2590349,
    "type": "user",
    "name": "Bastiaan Quast",
    "followers": 225,
    "description": "Machine Learning engineer | author of py, R packages: transformer, attention, rnn, HomomorphicEncryption, HEtools llama.go, mlx-profiler"
  },
  "_downloads": {
    "count": 690,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/decompr"
  },
  "_devurl": "https://github.com/bquast/decompr",
  "_searchresults": 139,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/decompr.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/bquast/decompr",
  "_realowner": "bquast",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1",
      "date": "2014-08-27"
    },
    {
      "version": "1.2",
      "date": "2014-08-29"
    },
    {
      "version": "1.3.2",
      "date": "2014-12-10"
    },
    {
      "version": "2.0",
      "date": "2015-01-27"
    },
    {
      "version": "2.1.0",
      "date": "2015-02-03"
    },
    {
      "version": "3.0.0",
      "date": "2015-04-01"
    },
    {
      "version": "4.0.0",
      "date": "2015-06-01"
    },
    {
      "version": "4.1.0",
      "date": "2015-06-16"
    },
    {
      "version": "4.5.0",
      "date": "2016-08-17"
    },
    {
      "version": "6.0.0",
      "date": "2021-05-10"
    },
    {
      "version": "6.2.0",
      "date": "2022-01-10"
    },
    {
      "version": "6.4.0",
      "date": "2022-06-19"
    },
    {
      "version": "6.9.0",
      "date": "2026-06-09"
    }
  ],
  "_exports": [
    "bm",
    "decomp",
    "kww",
    "leontief",
    "load_tables",
    "load_tables_vectors",
    "wwz",
    "wwz2kww"
  ],
  "_datasets": [
    {
      "name": "leather",
      "title": "Leather Example ICIO Data",
      "object": "leather",
      "file": "leather.rda",
      "class": [
        "iot"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "decompr-package",
      "title": "Global Value Chain Decomposition",
      "topics": [
        "decompr-package",
        "decompr"
      ]
    },
    {
      "page": "bm",
      "title": "Borin-Mancini Decomposition of Gross Exports",
      "topics": [
        "bm"
      ]
    },
    {
      "page": "decomp",
      "title": "Interface Function for Decompositions",
      "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_tables",
      "title": "Load the Input-Output and Final Demand Tables: Depreciated Interface",
      "topics": [
        "load_tables"
      ]
    },
    {
      "page": "load_tables_vectors",
      "title": "Load the Input-Output and Final Demand Tables",
      "topics": [
        "load_tables_vectors"
      ]
    },
    {
      "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/bquast/decompr/raw/HEAD/README.md",
  "_rundeps": [
    "matrixStats"
  ],
  "_vignettes": [
    {
      "source": "decompr.Rmd",
      "filename": "decompr.html",
      "title": "decompr",
      "author": "Bastiaan Quast",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Loading data",
        "Leontief decomposition",
        "Koopman-Wang-Wei decomposition",
        "Wang-Wei-Zhu decomposition"
      ],
      "created": "2015-03-14 17:45:53",
      "modified": "2021-05-08 13:41:34",
      "commits": 4
    }
  ],
  "_score": 6.921166050637739,
  "_indexed": true,
  "_nocasepkg": "decompr",
  "_universes": [
    "bquast"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.9.0",
      "date": "2026-09-20T11:59:17.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/068a871d231791890124a0454fc1bb95a38a1d3e0ffb69bbfa614ef1a0d2c9db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "6.9.0",
      "date": "2026-09-20T11:59:24.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/43c1742b33fc18543b694a12bac551431b630f95f974582ae4751ccd0571d441",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "6.9.0",
      "date": "2026-09-20T11:59:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/85f899f00e68e126ca3850c64efe3e9ac6db3ec377c7d2f55a5458b1b8ba2603",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "6.9.0",
      "date": "2026-09-20T11:59:24.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/0eb8a162887afd2d68df6648b27c262738d34bd1021a1bd6ecd5e700fe923167",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "6.9.0",
      "date": "2026-09-20T12:00:02.000Z",
      "arch": "aarch64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/d075824b2f73784660d8d01c72a36769b26e2ee620f9b0e67ebb979ecb4c55dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "6.9.0",
      "date": "2026-09-20T12:01:09.000Z",
      "arch": "x86_64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/a480b873436fd871774cd72a1edfb05c6c5d986af0797d4973aea2f5f71ad18f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "6.9.0",
      "date": "2026-09-20T11:59:40.000Z",
      "arch": "aarch64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/2bbc78bd0e7946993a945c182f776b55d439c490ede7dd449e44e71e95df4b44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "6.9.0",
      "date": "2026-09-20T12:01:33.000Z",
      "arch": "x86_64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/5b180fb8d6a4fe4440f7a234050c5f616748204a1dcc88ad57ceb44eae3a9b0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "6.9.0",
      "date": "2026-09-20T11:59:28.000Z",
      "arch": "emscripten",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/1777310d34e7befacc0844a478808d0704e372400d74437fd708c2c01f721e9a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "6.9.0",
      "date": "2026-09-20T12:01:40.000Z",
      "arch": "aarch64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/b3434903e6d66a6b0c9da8c76de4b4f3c09533125941bcbc68de9c57dbe3e4d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "6.9.0",
      "date": "2026-09-20T11:58:15.000Z",
      "arch": "x86_64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/749d4ce50cf22b1db54e605dba46568c5bc5ecc3a88824b1d839487e10a8245d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "6.9.0",
      "date": "2026-09-20T11:58:34.000Z",
      "arch": "x86_64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/baac544a86ecbe17627a85ce55fc2c2a7d3dd396ca267ba88f753875779a05a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "6.9.0",
      "date": "2026-09-20T12:02:08.000Z",
      "arch": "aarch64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/3932051842568140fe3bb90ef91f3eeef754fe87f0885b7dced88e8e66fc0a54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "6.9.0",
      "date": "2026-09-20T11:58:17.000Z",
      "arch": "x86_64",
      "commit": "8686547d3df53f1e087bdaf694e35b67ddf16119",
      "fileid": "https://r2.ropensci.org/97682ffa4c78ec8a1d01867b5c899fe1c7a9de86d6b5828dc791797fffe41aee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bquast/actions/runs/35509120025"
    }
  ]
}