An open API service indexing awesome lists of open source software.

https://github.com/ropensci/tradestatistics

R package to access Open Trade Statistics API
https://github.com/ropensci/tradestatistics

api-wrapper data-table international-trade jsonlite open-trade-statistics r r-package rstats

Last synced: 5 months ago
JSON representation

R package to access Open Trade Statistics API

Awesome Lists containing this project

README

          

---
output: github_document
---

```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/"
)
```

# Open Trade Statistics package sticker

[![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)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/lifecycle/#stable)
[![R build status](https://github.com/ropensci/tradestatistics/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/tradestatistics/actions?workflow=R-CMD-check)
[![CRAN status](https://www.r-pkg.org/badges/version/tradestatistics)](https://cran.r-project.org/package=tradestatistics)
[![Coverage status](https://codecov.io/gh/ropensci/tradestatistics/branch/master/graph/badge.svg)](https://codecov.io/github/ropensci/tradestatistics?branch=master)
[![](https://badges.ropensci.org/274_status.svg)](https://github.com/ropensci/onboarding/issues/274)

[Open Trade Statistics](https://tradestatistics.io) is an effort to open international trade data. `tradestatistics` provides an easy way to obtain data from OTS by accessing its API.

This is what the package does:

![Data diagram](svg/data-diagram.svg)

Using `tradestatistics` package is all about efficiency, without this package you could obtain the same data from the API at the expense of using additional time and effort for the same results. As an API wrapper and utility program this package makes data obtaining faster and easier for you.

## Installation

```{r, eval = FALSE}
# Install stable version from CRAN
install.packages("tradestatistics")

# Install stable version from GitHub
devtools::install_github("ropensci/tradestatistics")
```

## Code of conduct

Please note that this project is released with a [Contributor Code of Conduct](https://docs.ropensci.org/tradestatistics/CODE_OF_CONDUCT.html).
By participating in this project you agree to abide by its terms.

[![ropensci_footer](https://ropensci.org/public_images/ropensci_footer.png)](https://ropensci.org)