Package: zerotradeflow 0.1.0

zerotradeflow: An Implementation for the Gravitational Models of Trade

A system for creating the bilateral trade flow between a country pair equal to zero. You provide the data, tell get_zerotradeflow() which variables are of interest and it expands the base by creating the bilateral zero trade flow. The bases on the flow of trade between countries only report positive trade (greater than zero), however, for some analyzes of gravitacional models, data on zero flow is also necessary. Some examples for Gravity Model: Figueiredo and Loures (2016) <doi:10.5935/0034-7140.20160015>; Loures, Figueiredo and Mariano (2019) <doi:10.11606/1980-5330/ea150797> and Yotov, Piermartini, Monteiro and Larch <https://vi.unctad.org/tpa/web/docs/vol2/book.pdf>.

Authors:Alexandre Loures [aut, cre]

zerotradeflow_0.1.0.tar.gz
zerotradeflow_0.1.0.zip(r-4.5)zerotradeflow_0.1.0.zip(r-4.4)zerotradeflow_0.1.0.zip(r-4.3)
zerotradeflow_0.1.0.tgz(r-4.4-any)zerotradeflow_0.1.0.tgz(r-4.3-any)
zerotradeflow_0.1.0.tar.gz(r-4.5-noble)zerotradeflow_0.1.0.tar.gz(r-4.4-noble)
zerotradeflow_0.1.0.tgz(r-4.4-emscripten)zerotradeflow_0.1.0.tgz(r-4.3-emscripten)
zerotradeflow.pdf |zerotradeflow.html
zerotradeflow/json (API)

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

Peer review:

Bug tracker:https://github.com/alexandreloures/zerotradeflow/issues

Datasets:
  • comtrade - A sample of the UN Comtrade Database.
  • distinct - Dataset composed of six different countries.
  • same - Dataset composed of five different countries (BRA appears as both exporter and importer).

On CRAN:

exportsgravitational-modelsharmonized-systemimportstradezero-flow

1 exports 0.63 score 21 dependencies 1 scripts 193 downloads

Last updated 1 years agofrom:a326cc8c1e. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 02 2024
R-4.5-winOKSep 02 2024
R-4.5-linuxOKSep 02 2024
R-4.4-winOKSep 02 2024
R-4.4-macOKSep 02 2024
R-4.3-winOKSep 02 2024
R-4.3-macOKSep 02 2024

Exports:get_zerotradeflow

Dependencies:clicpp11dplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr