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
The City of Philadelphia's tax collections from its controversial tax on sweetened beverages are continuing to fall well short of the levels that the city's politicians desired. For taxes assessed on sales from January 2017 through preliminary data for October 2017, total beverage tax collections in the city are running over 14% below the amount that city officials were counting upon to support their desired level of spending for a new "free" pre-K school programs, to cover a portion of the debt that the city will take on to make physical improvements to parks, libraries and recreation centers, and also to fund benefits for city employees.
In the chart above, we've projected the amount of tax collections that Philadelphia would need to collect in each month of the year to reach its annual target of $92.4 million if sales of the sweetened beverages distributed in the city followed the seasonal pattern for soft drink distribution in the United States, which we've shown in blue. Meanwhile, we've shown the actual tax collections that Philadelphia's revenue department has taken in from the tax assessed in the indicated months in red. As you can see, the city's actual sweetened beverage tax collections have continually fallen anywhere from 4% to 21% short of the monthly revenue targets needed to meet their annual revenue target.
The closest that Philadelphia has come to hitting its desired level of monthly revenue was for the soda taxes assessed in September 2017 and collected in October 2017, which at $7,567,159, nearly came within $348,000 of the amount that might reasonably have been expected for the month if the city's tax collections were coming in as city officials desired. Unfortunately, that month appears to be an anomaly, according to Philadelphia's Deputy Revenue Commissioner Marisa Waxman:
"This is a new tax with a lot of seasonality and patterns that we’re still learning, so we've never had collections in October before," she said. "There were some circumstances that contributed to this that we think might not repeat. There are other things in there that could repeat. We’ll just have to continue to monitor how this comes in month to month."
Waxman's comments can also be taken as a confirmation that Philadelphia's soda tax collections are not coming in anywhere near as reliably as city officials expected.
Overall, we also find that through October 2017, the total sales of beverages that are subjected to the Philadelphia Beverage Tax are collectively running about 37% below the levels that city officials indicated were occurring before the implementation of the tax.
We should point out that these figures apply to the quantity of beverages that have been subjected to Philadelphia's soda tax, which is not the same as the quantity of beverages that Philadelphians are consuming, where many residents are purchasing drinks outside of the city's limits to avoid the tax, increasing their consumption of alcoholic beverages that are now closer in cost to the taxed soft drinks, or are creatively hacking their way around having to pay it while also getting their sugar fix.
Presented in chronological order....
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.