{"id":13858419,"url":"https://github.com/pachadotdev/oec","last_synced_at":"2025-07-13T23:32:16.510Z","repository":{"id":74812223,"uuid":"64151704","full_name":"pachadotdev/oec","owner":"pachadotdev","description":"The Observatory of Economic Complexity - R Package","archived":true,"fork":false,"pushed_at":"2018-08-28T01:31:36.000Z","size":50470,"stargazers_count":14,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-22T16:39:28.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://pacha.hk/oec/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pachadotdev.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-07-25T16:47:19.000Z","updated_at":"2023-10-25T02:07:14.000Z","dependencies_parsed_at":"2023-03-10T01:30:28.050Z","dependency_job_id":null,"html_url":"https://github.com/pachadotdev/oec","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pachadotdev/oec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Foec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Foec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Foec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Foec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pachadotdev","download_url":"https://codeload.github.com/pachadotdev/oec/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Foec/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265220931,"owners_count":23729909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-05T03:02:07.997Z","updated_at":"2025-07-13T23:32:12.483Z","avatar_url":"https://github.com/pachadotdev.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/\"\n)\n```\n\n# OEC R package \u003cimg src=\"http://pacha.hk/oec/observatory.png\" width=150 align=\"right\" alt=\"sticker\"/\u003e\n\n[![mitlicense](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n[![Build Status](https://travis-ci.org/pachamaltese/oec.svg?branch=master)](https://travis-ci.org/pachamaltese/oec)\n[![Build status](https://ci.appveyor.com/api/projects/status/5xvlffxy8ro4wc34?svg=true)](https://ci.appveyor.com/project/pachamaltese/oec)\n[![cran checks](https://cranchecks.info/badges/summary/oec)](https://cran.r-project.org/web/checks/check_results_oec.html)\n[![CRAN downloads](http://cranlogs.r-pkg.org/badges/oec)](http://cran.rstudio.com/web/packages/oec/index.html)\n[![CRAN downloads](http://cranlogs.r-pkg.org/badges/grand-total/oec)](http://cran.rstudio.com/web/packages/oec/index.html)\n[![Coverage status](https://codecov.io/gh/pachamaltese/oec/branch/master/graph/badge.svg)](https://codecov.io/github/pachamaltese/oec?branch=master)\n[![](https://badges.ropensci.org/217_status.svg)](https://github.com/ropensci/onboarding/issues/217)\n\nThe [Observatory of Economic Complexity](https://atlas.media.mit.edu/en/) is the world's leading visualization engine for international trade data. `oec` provides an easy way to obtain data from the OEC by accessing its API.\n\nThis is what the package does:\n\n![Data diagram](http://pacha.hk/oec/data-diagram.svg)\n\nUsing the oec R 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.\n\n## Installation\n\n```{r, eval = FALSE}\n# Install release version from CRAN\ninstall.packages(\"oec\")\n\n# Install development version from GitHub\ndevtools::install_github(\"pachamaltese/oec\")\n```\n\n## Usage\n\nThis package features a full pkgdown site [here](http://pacha.hk/oec/). Please read it.\n\nHere's a basic example to obtain bilateral trade between Chile and Argentina in the year 2000 under different trade classifications:\n```{r basic-example, eval=FALSE}\nsitc_data \u003c- get_data(\"chl\", \"arg\", 2000, \"sitc\")\nhs92_data \u003c- get_data(\"chl\", \"arg\", 2000, \"hs92\")\n```\n\n## Code of conduct\n\nPlease note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md).\nBy participating in this project you agree to abide by its terms.\n\n## The MIT License\n\nCopyright (c) 2016, Mauricio \"Pachá\" Vargas\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpachadotdev%2Foec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpachadotdev%2Foec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpachadotdev%2Foec/lists"}