Comments (2)
Thanks for the feedback!
Could you tell me exactly what that comtrade API request is fetching as well as each of the parameters. Our data came from doing batch downloads before they had a working API.
When I take the sum TradeValue key of the JSON returned by the URL above I get the following: 1,545,565,185,671 or ~ 1.5 trillion.
from oec.
First of all, thank you very much for your attention.
The API call is
http://comtrade.un.org/api/get?max=50000&type=C&freq=A&px=S4&ps=2012&r=842&p=0&rg=2&cc=ALL
The search is: annual frequency, SITC - REV 4 classification, Year 2012, from USA to the world, trade flow: export and commodity codes: All SITC Rev.4 categories.
As you said, the sum of export trade value is close to 1.5 Trillion in this search. Nevertheless, when I make the same searching at OEC (http://atlas.media.mit.edu/explore/tree_map/sitc/export/usa/all/show/2012/), total exports trade value is $2.59T.
If you make a search for categories, you can also find data discrepancies. For instance, the search for exports for code 5989 give a result of 6B in COMTRADE (http://comtrade.un.org/api/get?max=500&type=C&freq=A&px=S4&ps=2012&r=842&p=0&rg=2&cc=5989) versus a result of 36.8B. in OEC (http://atlas.media.mit.edu/explore/tree_map/sitc/export/usa/all/show/2012).
I'm probably missing something.
Thank you again, and contratulations for your great job in OEC!
from oec.
Related Issues (20)
- What scale is used?
- "Show all years" does not works on country page
- Bhutan electricity export do not show up HOT 5
- Paraguay Electricity Exports do not show up for year 2017 HOT 2
- HS codes wrong? HOT 1
- Taiwan missing
- Netherlands trade data 2017 seems to be different from UNCOMTRADE and IMF
- Israel and Palestine
- Visualization page not working HOT 1
- Create firms profile in CMS
- Missing Visualization on Data
- "The blood of poor Americans is now a leading export, bigger than corn or soy" HOT 2
- How to get data from your database?thanks HOT 2
- Saudi Canada data incorrect HOT 1
- add 2 new research paper to publications HOT 1
- ECI Ranking data
- contradictory titles in embeded vs normal visualization
- any plan for 2018 or later updates? HOT 1
- API does not return data for single products
- Iraq + Taiwan
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oec.