Oec

Latest version: v0.3.0

Safety actively analyzes 622475 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.3.0

2016 Data

New data came early this year! As part of a new data release cycle, we're trying to update our data more frequently to mirror what's available from COMTRADE. As of now there are still quite a number of countries missing, thus, this required some re-engineering on the backend. The country profile pages will now show the latest year dynamically based on what's available in the database. For example the [Vietnam profile page](http://atlas.media.mit.edu/en/profile/country/vnm/) contains data from 2015 while [Algeria](http://atlas.media.mit.edu/en/profile/country/dza/) is updated with 2016 data.

Germany, FDR and DEU

Currently in the SITC dataset (pre 1985) there are 2 versions of West Germany, Germany (DEU) and Federal Republic of Germany (FDR). This was for the purpose of showing a long time series of German data, from the earliest year available (1962) to the present. This became an issue whenever looking at tree maps of destination as one would see both DEU and FDR Germany appear, essentially doubling their exports. Closing issue 183, this is now fixed at the visualization level.

![image 1](https://user-images.githubusercontent.com/252276/31364853-99153136-ad35-11e7-9ace-42f06679bce0.png)

Now we see...

![screen shot 2017-10-09 at 9 06 48 pm](https://user-images.githubusercontent.com/252276/31364889-d5aa129c-ad35-11e7-9b3c-3681967d0658.png)

Source: http://atlas.media.mit.edu/en/visualize/tree_map/sitc/export/show/all/7810/1982/

Many thanks to pachamaltese and cesifoti.

2.2.0

Bring Me To Your Language

In an effort to maximize our visibility on the increasingly international landscape of the web we've now added the current page's language to the URL. By explicitly stating the language of every page in the URL instead of relying on a user's session cookie we enable every page in every language to now exist as a **separate** URL. For example:

<table>
<thead>
<tr>
<th>Ttile</th>
<th>Former URL</th>
<th>New URL (english)</th>
<th>New URL (portuguese)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Profile of Protugal</td>
<td>/profile/country/prt/</td>
<td>/en/profile/country/prt/</td>
<td>/pt/profile/country/prt/</td>
</tr>
</tbody>
</table>

This may sound redundant but the implications are not necessarily obvious. Previously if a user were to switch the language and send the link to a friend, that link would open in english, or if the friend had previously visited the site, whatever language they had set. Now search engines as well as users can link to a page in a specific language increasing the site's international reach.

Та монгол хэл мэдэх үү?

**One more thing...** we're excited to add a beta version of the site in Mongolian! Thanks to [Azjargalkhan](https://twitter.com/Azjargalkhan) for the help on the site translations. We say "beta" due to the fact that most of the translations for the product classifications have been done using Google Translate and these have been known to be problematic in the past. Do you speak Mongolian? Feel free to contribute using the links below:

[HS Product Translations](https://docs.google.com/spreadsheets/d/1mPG5zgQmeh3vRsGQrIOq8hPONXNRGW1OC449ExAqMVs/edit#gid=1931826739)
[SITC Product Translations](https://docs.google.com/spreadsheets/d/1iPk4UDFffbWG4kqoh6wOJY7j7WEvWPxaEImfljiTOB0/edit#gid=1493536672)
[OEC Site Translations](https://docs.google.com/spreadsheets/d/1Ue5cRW2rWlsZrnISWEgzuUsouIt6C0YI9t_tAPewMio/edit#gid=0)

![screen shot 2015-03-29 at 11 59 21 am](https://cloud.githubusercontent.com/assets/252276/6886408/4578ebe8-d60b-11e4-9263-d725e968624a.png)

2.1.3

2.1.3 marks one major and a bunch of minor updates for the OEC. First off, I'm happy to write that we now have 2012 data available! Yup, it's there and the default when clicking on the explore or profile pages. For the HS data the source continues to be the amazing [BACI database](http://www.cepii.fr/CEPII/en/bdd_modele/presentation.asp?id=1) created by the folks at CEPII. And the SITC data comes from the raw COMTRADE database after doing some basic cleaning and symmetrizing of the data. A note of congratulations is certainly in order for the COMTRADE team as they've compeltely revamped their [data explorer](http://comtrade.un.org/data/) and even added a new [public API](http://comtrade.un.org/data/doc/api/)! (both of which are still in beta for the time being). Having worked with this particular world trade dataset for more or less the past 4 years it is a huge accomplishment to see these changes on the COMTRADE end and of course we will keep pushing the OEC forward with new visualizations and UI improvements.

Other improvements:
- New D3plus UI elements (dropdowns and buttons)
- Combined East & West German data pre 1990 to enable the German data timeline to go back to 1962
- Redirect users looking for Belgium or Luxembourg data in HS to the Belgium-Luxembourg combined data
- Removed "all years" button from embedded visualizations for simplicity and larger space allocation

2.1.2

Profile pages have been updated. For country profile pages there is now a small geo map showing the selected country zoomed in. The product profiles on the other hand show the rings visualization of the selected product. A user can also now change the selected product/country to any one they desire. The information that was formerly on the left-hand side was relocated to the right column.

![screen shot 2014-04-09 at 5 31 46 pm](https://cloud.githubusercontent.com/assets/252276/2661570/a7a8c7b4-c02e-11e3-902c-4495aa278703.png)

![screen shot 2014-04-09 at 5 32 00 pm](https://cloud.githubusercontent.com/assets/252276/2661572/acc94782-c02e-11e3-9ff2-7b44f8b3a072.png)

Other minor updates:
- Cache expiration decreased from 1 month to 1 week because this was causing Redis to fill up and shut down.
- Updated D3plus to 1.2.2
- Fixed gradient bug for downloaded geo maps.
- Geo maps now show proper coloring for toggling between gross and net values.

2.1.1

Tweets now embed charts! When a user clicks the twitter button a POST request is made to the server to save a rasterized version of the SVG chart they are currently viewing. The image is only rasterized and saved if it does not already exist. The appropriate [<meta> tags](https://dev.twitter.com/docs/cards/validation/validator) are added to the page to tell Twitter where to look for the image.

![screen shot 2014-03-31 at 2 01 07 am](https://cloud.githubusercontent.com/assets/252276/2564218/e287cdfe-b899-11e3-9640-02bcf93f527d.png)

2.1.0

Zoom Zoom

The OEC got a huge facelift to many of its apps both behind the scenes and in front. [D3plus v1.2](http://d3plus.org/) has just been released to the public which includes a ton of new features, most notably zooming. You are now able to click on products in the products space to zoom in to that part of the network or use the scroll wheel to zoom in gradually. The same is true for the geo map, clicking a country will zoom you in and scrolling will gradually bring you closer to wherever your cursor is pointed. And lastly stacked area charts show products at the more coarse level of aggregation. By clicking on a category you are able to zoom into it and see more details of the products contained within it. Of course there are many other optimizations what went into this release. For more details on this version of D3plus see the release notes.

The following are a list of the major changes:
- Better mobile support
- Country / Product names are bolded on explore and profile pages to add emphasis to what is being viewed
- Legacy embed URLs now maintain old URL params (for lang support)
- Zooming in product space
- Zooming in geo maps
- Zooming in stacked area charts
- Much faster drop down loading (icons removed)
- Better search functionality e.g. the term "united king" now only returns results for The United Kingdom and not for The United Kingdom and products with "king" in their name

On The Horizon
- Working on cleaning 2012 data

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.