tradestatistics
R package to access Open Trade Statistics API
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (16.1%) to scientific vocabulary
Keywords
api-wrapper
data-table
international-trade
jsonlite
open-trade-statistics
r
r-package
rstats
Last synced: 4 months ago
·
JSON representation
Repository
R package to access Open Trade Statistics API
Basic Info
- Host: GitHub
- Owner: ropensci
- License: apache-2.0
- Language: R
- Default Branch: master
- Homepage: https://docs.ropensci.org/tradestatistics
- Size: 8.32 MB
Statistics
- Stars: 78
- Watchers: 9
- Forks: 14
- Open Issues: 0
- Releases: 0
Topics
api-wrapper
data-table
international-trade
jsonlite
open-trade-statistics
r
r-package
rstats
Created almost 7 years ago
· Last pushed over 1 year ago
Metadata Files
Readme
Changelog
Contributing
Funding
License
Code of conduct
Codemeta
README.Rmd
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/"
)
```
# Open Trade Statistics package
[](https://www.repostatus.org/#active)
[](https://www.tidyverse.org/lifecycle/#stable)
[](https://github.com/ropensci/tradestatistics/actions?workflow=R-CMD-check)
[](https://cran.r-project.org/package=tradestatistics)
[](https://codecov.io/github/ropensci/tradestatistics?branch=master)
[](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:

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.
[](https://ropensci.org)
Owner
- Name: rOpenSci
- Login: ropensci
- Kind: organization
- Email: info@ropensci.org
- Location: Berkeley, CA
- Website: https://ropensci.org/
- Twitter: rOpenSci
- Repositories: 307
- Profile: https://github.com/ropensci
CodeMeta (codemeta.json)
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "tradestatistics",
"description": "Access 'Open Trade Statistics' API from R to download international trade data.",
"name": "tradestatistics: Open Trade Statistics API Wrapper and Utility Program",
"codeRepository": "https://docs.ropensci.org/tradestatistics/",
"issueTracker": "https://github.com/ropensci/tradestatistics/issues/",
"license": "Apache License 2",
"version": "4.4.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.2.1 (2022-06-23)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"author": [
{
"@type": "Person",
"givenName": "Mauricio",
"familyName": "Vargas",
"email": "mavargas11@uc.cl",
"@id": "https://orcid.org/0000-0003-1017-7574"
}
],
"contributor": [
{
"@type": "Person",
"givenName": "Joshua",
"familyName": "Kunst"
},
{
"@type": "Person",
"givenName": "Alexey",
"familyName": "Kravchenko"
},
{
"@type": "Person",
"givenName": "Emma",
"familyName": "Mendelsohn"
},
{
"@type": "Person",
"givenName": "Daniela",
"familyName": "de los Santos"
},
{
"@type": "Organization",
"name": "UN Comtrade"
},
{
"@type": "Organization",
"name": "The World Bank"
}
],
"copyrightHolder": [
{
"@type": "Person",
"givenName": "Mauricio",
"familyName": "Vargas",
"email": "mavargas11@uc.cl",
"@id": "https://orcid.org/0000-0003-1017-7574"
}
],
"maintainer": [
{
"@type": "Person",
"givenName": "Mauricio",
"familyName": "Vargas",
"email": "mavargas11@uc.cl",
"@id": "https://orcid.org/0000-0003-1017-7574"
}
],
"softwareSuggestions": [
{
"@type": "SoftwareApplication",
"identifier": "knitr",
"name": "knitr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=knitr"
},
{
"@type": "SoftwareApplication",
"identifier": "rmarkdown",
"name": "rmarkdown",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=rmarkdown"
},
{
"@type": "SoftwareApplication",
"identifier": "tibble",
"name": "tibble",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=tibble"
},
{
"@type": "SoftwareApplication",
"identifier": "testthat",
"name": "testthat",
"version": ">= 2.1.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=testthat"
},
{
"@type": "SoftwareApplication",
"identifier": "vcr",
"name": "vcr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=vcr"
},
{
"@type": "SoftwareApplication",
"identifier": "covr",
"name": "covr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=covr"
}
],
"softwareRequirements": {
"1": {
"@type": "SoftwareApplication",
"identifier": "crul",
"name": "crul",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=crul"
},
"2": {
"@type": "SoftwareApplication",
"identifier": "arrow",
"name": "arrow",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=arrow"
},
"3": {
"@type": "SoftwareApplication",
"identifier": "memoise",
"name": "memoise",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=memoise"
},
"4": {
"@type": "SoftwareApplication",
"identifier": "data.table",
"name": "data.table",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=data.table"
},
"5": {
"@type": "SoftwareApplication",
"identifier": "digest",
"name": "digest",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=digest"
},
"6": {
"@type": "SoftwareApplication",
"identifier": "R",
"name": "R",
"version": ">= 2.10"
},
"SystemRequirements": null
},
"fileSize": "1086.744KB"
}
GitHub Events
Total
- Watch event: 3
Last Year
- Watch event: 3
Dependencies
DESCRIPTION
cran
- R >= 2.10 depends
- arrow * imports
- crul * imports
- data.table * imports
- digest * imports
- memoise * imports
- covr * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat >= 2.1.0 suggests
- tibble * suggests
- vcr * suggests