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>.

Version: 0.1.0
Depends: R (≥ 3.5.0)
Imports: magrittr, tidyverse, rlang, dplyr, tidyr, purrr, cli
Suggests: testthat (≥ 2.1.0)
Published: 2022-07-18
DOI: 10.32614/CRAN.package.zerotradeflow
Author: Alexandre Loures ORCID iD [aut, cre]
Maintainer: Alexandre Loures <alexandre.loures at protonmail.com>
BugReports: https://github.com/AlexandreLoures/zerotradeflow/issues
License: MIT + file LICENSE
URL: https://github.com/AlexandreLoures/zerotradeflow
NeedsCompilation: no
Language: English
Materials: README
CRAN checks: zerotradeflow results [issues need fixing before 2025-01-09]

Documentation:

Reference manual: zerotradeflow.pdf

Downloads:

Package source: zerotradeflow_0.1.0.tar.gz
Windows binaries: r-devel: zerotradeflow_0.1.0.zip, r-release: zerotradeflow_0.1.0.zip, r-oldrel: zerotradeflow_0.1.0.zip
macOS binaries: r-release (arm64): zerotradeflow_0.1.0.tgz, r-oldrel (arm64): zerotradeflow_0.1.0.tgz, r-release (x86_64): zerotradeflow_0.1.0.tgz, r-oldrel (x86_64): zerotradeflow_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=zerotradeflow to link to this page.