Replication of 'An Advanced Guide To Trade Policy Analysis'
Overview
Datasets from Yotov, et al. (2016) <isbn:978-92-870-4367-2> (An Advanced Guide to Trade Policy Analysis) and functions to report regression summaries with clustered robust standard errors.
Changes
- Uses
data.tableinstead ofdplyrandtidyrfor the replication. - Uses
tinyplotinstead ofggplot2to mimimize dependencies.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-16
- WARNING12 OK, 1 WARNING2026-07-15
- OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 2 (1 internal)includes a package overview page
- Examples that run
- no examples
- Exported functions with examples
- not tracked
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 224
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
6 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/pachadotdev/tradepolicy on 2026-10-21.
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-08-11
Dependencies
Installing tradepolicy adds 37 packages (17 with compiled code, 28 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, capybara 2.4 MB.
Code & Tests
Datasets
People & History
Maintainer since 0.5.0 (2021)
Pick two releases to compare their code metrics.
- 0.8.0Latest2026-06-29 · current release · diff ↗ ·
removed 4 exports
%>%, tp_summary_app_1, tp_summary_app_2, tp_summary_app_3 - RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2024-03-23
- 0.7.02024-03-23 · diff ↗
- RR 4.3.0 released · 2023-04-21
- archivedRemoved from CRAN2023-03-16issues were not corrected in time
- RR 4.2.0 released · 2022-04-22
- 0.6.02022-04-07 · diff ↗ ·
removed 6 exports
tp_clustered_glm, tp_fixed_effects, tp_summary_app1, tp_summary_app2, tp_summary_app3, tp_summary_clusteredadded 3 exports
tp_summary_app_1, tp_summary_app_2, tp_summary_app_3 - 0.5.02021-05-27
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-05-27
- Total releases
- 4 / 5 yrs
- License
- CC BY 4.0
- Minimum R
- ≥ 4.0
- Bundled data
- 725 KB / 1 file
- Download size
- 724 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tradepolicy")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.