Package: zerotradeflow 0.1.0

Alexandre Loures

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> 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://cranhaven.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:

archivedpackagesr-universe

2.40 score 5 stars 1 scripts 150 downloads 1 exports 106 dependencies

Last updated 11 days agofrom:41935ff88f (on package/zerotradeflow). Checks:1 OK, 6 NOTE. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKJan 10 2025
R-4.5-winNOTEJan 10 2025
R-4.5-linuxNOTEJan 10 2025
R-4.4-winNOTEJan 10 2025
R-4.4-macNOTEJan 10 2025
R-4.3-winNOTEJan 10 2025
R-4.3-macNOTEJan 10 2025

Exports:get_zerotradeflow

Dependencies:askpassbackportsbase64encbitbit64blobbroombslibcachemcallrcellrangerclicliprcolorspaceconflictedcpp11crayoncurldata.tableDBIdbplyrdigestdplyrdtplyrevaluatefansifarverfastmapfontawesomeforcatsfsgarglegenericsggplot2gluegoogledrivegooglesheets4gtablehavenhighrhmshtmltoolshttridsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelubridatemagrittrMASSMatrixmemoisemgcvmimemodelrmunsellnlmeopensslpillarpkgconfigprettyunitsprocessxprogresspspurrrR6raggrappdirsRColorBrewerreadrreadxlrematchrematch2reprexrlangrmarkdownrstudioapirvestsassscalesselectrstringistringrsyssystemfontstextshapingtibbletidyrtidyselecttidyversetimechangetinytextzdbutf8uuidvctrsviridisLitevroomwithrxfunxml2yaml