https://github.com/pachadotdev/desta
https://github.com/pachadotdev/desta
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pachadotdev/desta
- Owner: pachadotdev
- License: cc0-1.0
- Created: 2021-07-17T00:33:08.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-07-26T07:00:21.000Z (almost 4 years ago)
- Last Synced: 2025-04-09T03:19:56.553Z (about 1 year ago)
- Language: R
- Size: 2.03 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE.md
Awesome Lists containing this project
README
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# desta
The goal of desta is to provide convenient access to
The Design of Trade Agreements Database (DESTA).
## Installation
You can install the development version of desta from [GitHub](https://github.com/) with:
``` r
# install.packages("remotes")
remotes::install_github("pachadotdev/desta")
```
## Example
This is a basic example which shows you how to see the Chile-US dyad:
```{r example, message=FALSE, warning=FALSE}
library(desta)
library(dplyr)
treaties_dyads %>%
filter(
country1 == "Chile",
country2 == "United States",
year >= 2000
)
```
All the tables within the package are documented. Check the package
documentation from RStudio help pane.