Package: exvatools 1.0.0

exvatools: Value Added in Exports and Other Input-Output Table Analysis Tools

Analysis of trade in value added with international input-output tables. Includes commands for easy data extraction, matrix manipulation, decomposition of value added in gross exports and calculation of value added indicators, with full geographical and sector customization. Decomposition methods include Borin and Mancini (2023) <doi:10.1080/09535314.2022.2153221>, Miroudot and Ye (2021) <doi:10.1080/09535314.2020.1730308>, Wang et al. (2013) <https://econpapers.repec.org/paper/nbrnberwo/19677.htm> and Koopman et al. (2014) <doi:10.1257/aer.104.2.459>.

Authors:Enrique Feas [aut, cre]

exvatools_1.0.0.tar.gz
exvatools_1.0.0.zip(r-4.7)exvatools_1.0.0.zip(r-4.6)exvatools_1.0.0.zip(r-4.5)
exvatools_1.0.0.tgz(r-4.6-any)exvatools_1.0.0.tgz(r-4.5-any)
exvatools_1.0.0.tar.gz(r-4.6-any)exvatools_1.0.0.tar.gz(r-4.5-any)
exvatools_1.0.0.tgz(r-4.5-emscripten)
exvatools.pdf |exvatools.html
exvatools/json (API)
NEWS

# Install 'exvatools' in R:
install.packages('exvatools', repos = c('https://enriquefeas.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.20 score 1 stars 16 scripts 860 downloads 33 exports 14 dependencies

Last updated from:32a46deb59. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK156
source / vignettesOK212
linux-release-x86_64OK142
macos-release-arm64OK136
macos-oldrel-arm64OK147
windows-develOK109
windows-releaseOK84
windows-oldrelOK96
wasm-releaseOK232

Exports:bkdbkdiagbkoffdbktbkttcsumsdiagcsdiagrsdmultget_dataget_exvadec_bkdownget_geo_codesget_sec_codesget_va_exgrget_va_exgryget_va_fdget_xmatrixhmultinfo_geoinfo_secmake_custom_wiomake_exvadecmake_exvadirmake_wiomeldmultdrsumsset_zerosumgcolssumgrowssumncolsumnrowtxt_from_ids

Dependencies:clidata.tablegluelifecyclemagrittropenxlsxplyrRcppreshape2rlangstringistringrvctrszip

Introduction to exvatools

Rendered fromexvatools.Rmdusingknitr::rmarkdownon Apr 16 2026.

Last update: 2026-01-16
Started: 2022-12-21

Readme and manuals

Help Manual

Help pageTopics
Get block diagonal matrixbkd
Diagonalize blocks of a block matrixbkdiag
Get block off-diagonal matrixbkoffd
Block transpose matrixbkt
Block transpose matrix with transposed blocksbktt
Sum matrix columns and assign name to resulting rowcsums
Diagonalize the sums of columns of a matrixdiagcs
Diagonalize the sums of each row of a matrixdiagrs
Multiply a diagonal matrix by another matrixdmult
Get data from different exvatools objectsget_data
Get a summary decomposition of value added in exportsget_exvadec_bkdown
Get the ISO3 codes of standard country groupsget_geo_codes
Get the ISO3 codes of standard sector groupsget_sec_codes
Detailed origin and destination of value added in gross exportsget_va_exgr
Detailed origin and final absorption of value added in gross exportsget_va_exgry
Value added induced by final demandget_va_fd
Get extraction matrix.get_xmatrix
Hadamard product of matriceshmult
ICIO-type input-output table example dataiciotest_data
Show available countries and country groups in a specific Input-Output tableinfo_geo
Show available sectors and sector groups included in a specific Input-Output tableinfo_sec
Make standard world input-output matrices from custom datamake_custom_wio
Decomposition of value added in exports using different methodologiesmake_exvadec
Direction (detailed origin and destination) of value added in exportsmake_exvadir
Make standard world input-output matrices from source filesmake_wio
Meld ICIO-type matrix (consolidating China and Mexico sub-components)meld
Multiply a matrix by a diagonal matrixmultd
Print method for 'exvadec' classprint.exvadec
Print method for 'exvadir' classprint.exvadir
Print method for 'wio' classprint.wio
Sum matrix rows and assign name to resulting columnrsums
Set to zero specific rows and columns of a matrixset_zero
Sum groups of columns of a matrix and name the resulting columnssumgcols
Sum groups of rows of a matrix and name the resulting rowssumgrows
Summary method for 'exvadec' classsummary.exvadec
Summary method for 'exvadir' classsummary.exvadir
Summary method for 'wio' classsummary.wio
Sum every nth column of a matrix and name the resulting columnssumncol
Sum every nth row of a matrix and name the resulting rowssumnrow
Get a descriptive text from a series of id codestxt_from_ids
WIOD-type input-output table example datawiodtest_data