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

# install.packages(remotes)
remotes::install_github("globalgov/manydata") # this installs our core package, the only one you need to do independently
manydata::get_packages() # this prints a list of the publicly available data packages currently available
manydata::get_packages("manytrade") # this 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.