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
Andrew Roth of the Club for Growth's blog has looked at the most recent U.S. highway appropriations bill and has found some 6371 pork-barrel spending projects inserted by individual U.S. Congressmen contained within it (roughly 12 such projects for each of 434 Representatives and 100 Senators, as only Arizona Representative Jeff Flake declined to participate in the political feeding frenzy.) What makes Andrew's number interesting is that he provides historical data that demonstrates the dramatic increase in the number of pork-barrel spending projects over time.
Political Calculations looked at the increase in the number of pork-barrel projects contained within legislation funding highways in the U.S. since the first such bill in 1956, and recognized that the growth rate in the number of these projects is exponential. Using the Andrew's data, Political Calculations created the following chart that shows the overall trend, and provides a formula that may be used for estimating the number of such projects in any given year since 1956, as well as into the future:
Armed with the formula, all that we need is a tool to do the math. Political Calculations offers the following tool which may be used to estimate the number of pork-barrel projects that may be found in either past or future highway legislation produced by the U.S. Congress:
Sadly, Political Calculations must note that its approximation of the number of pork-barrel projects that may be contained in either past, current and future highway bills represents a *very* low end estimate, as the number of pork-barrel projects has already grossly outstripped the growth rate predicted by the formula, as may be seen in the chart above. When you consider that the minimum cost of a pork-barrel project in the most recent bill is $200,000, you begin to get a small sense for what the impact of pork-barrel spending will be upon the typical U.S. taxpayer's pocketbook for the foreseeable future. It may go against conventional wisdom, but in this case, Congress could use a few hundred more Flakes!
Labels: debt management, politics
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.