manytrade is a data package in the many packages universe. It currently includes an ensemble of datasets on international trade agreements, and states’ membership or other relationships to those agreements. Building on existing trade datasets such as the Global Preferential Trade Agreements Database (GPTAD) and the Design of Trade Agreements Dataset (DESTA), the GNEVAR dataset in the agreements database also includes information on the membership conditions and procedures as well as more precise dates of signature extracted from the treaty texts. Please also check out {manydata} for more about the other packages in the ‘many packages’ universe.

## How to install:

We’ve made it easier than ever to install and start analysing global governance data in R. Simply install the core package, manydata, and then you can discover, install and update various ‘many packages’ from the console.

# prints a list of the publicly available data packages currently available
manydata::get_packages()
## # A tibble: 7 × 6
##   name        full_name
##   <chr>       <chr>
## 1 manydata    globalgov/manydata
## 2 manyenviron globalgov/manyenviron
## 3 manyhealth  globalgov/manyhealth
## 4 manypkgs    globalgov/manypkgs
## 5 manystates  globalgov/manystates
## 7 messydates  globalgov/messydates
##   description
##   <chr>
## 1 An R portal for ensembled global governance data
## 2 R Package for ensembled data on environmental agreements
## 3 An R package for ensembled data on international health organisations
## 4 Support for creating new manyverse packages
## 5 An R package for ensembled data on sovereign states
## 6 An R package for ensembled data on trade agreements
## 7 An R package for ISO's Extended Date/Time Format (EDTF)
##   installed latest        updated
##   <chr>     <chr>         <date>
## 1 0.7.5     0.7.5         2022-06-07
## 2 0.1.2     0.1.2         2022-03-16
## 3 <NA>      0.1.1-272ea19 2022-02-15
## 4 0.2.2     0.2.1         2022-02-18
## 5 0.1.0     0.0.6         2021-12-06
## 6 0.1.2     0.1.2         2022-07-13
## 7 0.3.1     0.3.0         2022-07-04
# manydata::get_packages("manytrade") # downloads and installs the named package

## Data included

Once you have installed the package, you can see the different databases and datasets included in the {manytrade} package using the following function.

manydata::data_contrast("manytrade")

Working with ensembles of related data has many advantages for robust analysis. Just take a look at our vignettes here.

## The ‘many packages’ universe

The many packages universe is aimed at collecting, connecting and correcting network data across issue-domains of global governance.

While the packages in the many universe can and do include novel data, much of what they offer involves standing on the shoulders of giants. The ‘many packages’ universe endeavours to be as transparent as possible about where data comes from, how it has been coded and/or relabeled, and who has done the work. As such, we make it easy to cite both the particular datasets you use by listing the official references in the function above, as well as the package providers for their work assembling the data by using the function below.

citation("manytrade")
##
## To cite manytrade in publications use:
##
##   J. Hollway. Trade agreements for manydata. 2021.
##
## A BibTeX entry for LaTeX users is
##
##   @Manual{,
##     author = {James Hollway},
##     year = {2021},
##   }
{manypkgs} also makes it easy to contribute in lots of different ways.