{"id":13857428,"url":"https://github.com/pachadotdev/tradepolicy","last_synced_at":"2025-03-20T02:31:24.383Z","repository":{"id":81294103,"uuid":"303030418","full_name":"pachadotdev/tradepolicy","owner":"pachadotdev","description":"Replication of 'An Advanced Guide To Trade Policy Analysis'","archived":false,"fork":false,"pushed_at":"2024-03-18T15:21:26.000Z","size":24746,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-21T01:13:44.924Z","etag":null,"topics":["gravity","r","r-package","rstats","trade"],"latest_commit_sha":null,"homepage":"https://r.tiid.org/R_structural_gravity/","language":"Stata","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pachadotdev.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-11T02:54:52.000Z","updated_at":"2024-08-05T03:27:01.311Z","dependencies_parsed_at":"2024-08-05T03:37:15.069Z","dependency_job_id":null,"html_url":"https://github.com/pachadotdev/tradepolicy","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Ftradepolicy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Ftradepolicy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Ftradepolicy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Ftradepolicy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pachadotdev","download_url":"https://codeload.github.com/pachadotdev/tradepolicy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244538587,"owners_count":20468745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gravity","r","r-package","rstats","trade"],"created_at":"2024-08-05T03:01:36.770Z","updated_at":"2025-03-20T02:31:19.372Z","avatar_url":"https://github.com/pachadotdev.png","language":"Stata","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# tradepolicy: Replication of 'An Advanced Guide To Trade Policy Analysis'\n\n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)\n[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)\n[![GH-actions Windows](https://github.com/pachamaltese/tradepolicy/workflows/check-windows/badge.svg)](https://github.com/pachamaltese/tradepolicy/actions)\n[![GH-actions Linux](https://github.com/pachamaltese/tradepolicy/workflows/check-linux/badge.svg)](https://github.com/pachamaltese/tradepolicy/actions)\n[![CRAN status](https://www.r-pkg.org/badges/version/tradepolicy)](https://cran.r-project.org/package=tradepolicy)\n[![codecov](https://codecov.io/gh/pachamaltese/tradepolicy/branch/main/graph/badge.svg?token=9UOFPQHTF2)](https://codecov.io/gh/pachamaltese/tradepolicy)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4277741.svg)](https://doi.org/10.5281/zenodo.4277741)\n\n# About\n\nThis R package, documented in a very similar way to the book [R4DS](https://r4ds.had.co.nz/), provides functions to replicate the original Stata results from the book [An Advanced Guide to Trade Policy Analysis](https://vi.unctad.org/tpa/web/Advanced%20Guide%20to%20TPA/readme.pdf).\n\nFor the analysis, this provides functions to compute robust clustered standard errors in generalized linear models. See https://r.tiid.org/R_structural_gravity/ for a fully detailed replication of AGTPA's results.\n\n# Installation\n\n## From CRAN\n\n```\ninstall.packages(\"tradepolicy\")\n```\n\n## From GitHub\n\n```\n# install.packages(\"remotes\")\nremotes::install_github(\"pachamaltese/tradepolicy\")\n```\n\n## Cite this work\n\nIf you use `tradepolicy` in academic works or other publication, please cite as follows:\n\n```\nMauricio Vargas (2020). tradepolicy: An Advanced Guide to Trade Policy Analysis. R\n  package version 0.2. https://pacha.dev/tradepolicy/\n```\n\nBibTeX entry:\n\n```\n@Manual{,\n  title = {tradepolicy: Replication of 'An Advanced Guide To Trade Policy Analysis'},\n  author = {Mauricio Vargas},\n  year = {2021},\n  note = {R package version 0.4.1},\n  url = {https://pacha.dev/tradepolicy/},\n  doi = {10.5281/zenodo.4277741}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpachadotdev%2Ftradepolicy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpachadotdev%2Ftradepolicy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpachadotdev%2Ftradepolicy/lists"}