to your HTML Add class="sortable" to any table you'd like to make sortable Click on the headers to sort Thanks to many, many people for contributions and suggestions. Licenced as X11: http://www.kryogenix.org/code/browser/licence.html This basically means: do what you want with it. */ var stIsIE = /*@cc_on!@*/false; sorttable = { init: function() { // quit if this function has already been called if (arguments.callee.done) return; // flag this function so we don't do the same thing twice arguments.callee.done = true; // kill the timer if (_timer) clearInterval(_timer); if (!document.createElement || !document.getElementsByTagName) return; sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/; forEach(document.getElementsByTagName('table'), function(table) { if (table.className.search(/\bsortable\b/) != -1) { sorttable.makeSortable(table); } }); }, makeSortable: function(table) { if (table.getElementsByTagName('thead').length == 0) { // table doesn't have a tHead. Since it should have, create one and // put the first table row in it. the = document.createElement('thead'); the.appendChild(table.rows[0]); table.insertBefore(the,table.firstChild); } // Safari doesn't support table.tHead, sigh if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0]; if (table.tHead.rows.length != 1) return; // can't cope with two header rows // Sorttable v1 put rows with a class of "sortbottom" at the bottom (as // "total" rows, for example). This is B&R, since what you're supposed // to do is put them in a tfoot. So, if there are sortbottom rows, // for backwards compatibility, move them to tfoot (creating it if needed). sortbottomrows = []; for (var i=0; i
There's a really exciting story developing in the international trade between the United States and China, two of the world's largest trading partners.
Here, the legalization of oil exports in 2016 from the United States has subsequently led to a rather dramatic surge in exports of petroleum products from the U.S. to China in 2017.
China imported nearly 100,000 barrels of crude oil per day from the U.S. in the first five months of 2017, 10 times the average in 2016, according to data by the Chinese customs.
The upward trend seems to be picking up speed. In April and May, imports surged to more than 180,000 barrels per day on average.
In February, China became the biggest buyer of U.S. crude oil, surpassing Canada, at a time when OPEC was scaling back its output, according to Bloomberg.
China's own falling production, political uncertainty in the Middle East – on which China has long depended for fuel – and the cheaper price of US oil have contributed to the increase in imports.
According to the U.S. Census Bureau's data on international trade, China imported nearly $496 million of U.S. crude oil, refined oil and other petroleum derived products in May 2017, which was more than double the $214 million of these goods that it imported from the U.S. in May 2016. Altogether, these petroleum exports accounted for 5.2% of all the oil that the U.S. exported to all other countries during May 2017, and 4.9% of the value of all the goods and services that the U.S. exported to China during the month.
For the first five months of 2017, the Census Bureau reports that the cumulative value of U.S. crude oil, petroleum gases and refined petroleum to China totals over $2.76 billion. For just U.S. crude oil exports, China has purchased $1.6 billion, which represents 21% of all U.S. crude oil exports to the world from January through May 2017.
That's a pretty remarkable development when you consider that most of these petroleum product exports are loaded on container ships at growing U.S. port facilities in Texas and Louisiana, where it then must pass through the recently enlarged Panama Canal before transiting the Pacific Ocean to reach Chinese ports.
The chart below shows what those new U.S. exports are doing for the exchange rate-adjusted year-over-year growth rates of U.S.-China trade.
The downside to the U.S.' oil exports to China is that it's skewing the year over year growth rate of trade from the U.S. to China upward, which makes the growth rate data less directly useful as a measure of the relative health of the Chinese economy. That's especially true because China is largely substituting U.S. oil products for those produced by other countries, so its economy is not necessarily growing as much as U.S. export data might suggest.
We can however somewhat compensate for that effect by substituting the U.S. to China oil export data from 2016 for each month in 2017, where if we do that, we find that China's economy still appears to be growing fairly robustly in 2017, if at a slightly slower pace than indicated by the unadjusted growth rates shown in the previous chart.
At the same time, the growth of U.S. imports from China suggests that the U.S. economy has likewise grown through the first five months of 2017.
U.S. Census Bureau. Trade in Goods with China. Accessed 11 July 2017.
U.S. Census Bureau. USA Trade Online. Accessed 11 July 2017.
Board of Governors of the Federal Reserve System. China / U.S. Foreign Exchange Rate. G.5 Foreign Exchange Rates. Accessed 11 July 2017.
Labels: trade
Welcome to the blogosphere's toolchest! Here, unlike other blogs dedicated to analyzing current events, we create easy-to-use, simple tools to do the math related to them so you can get in on the action too! If you would like to learn more about these tools, or if you would like to contribute ideas to develop for this blog, please e-mail us at:
ironman at politicalcalculations
Thanks in advance!
Closing values for previous trading day.
This site is primarily powered by:
The tools on this site are built using JavaScript. If you would like to learn more, one of the best free resources on the web is available at W3Schools.com.