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
Imagine this scenario. Public health advocates campaign for your city to impose a tax on sugary beverages. They claim it will improve the public's health through fighting obesity by making soda and other soft drinks made with sugar more costly to buy, forcing budget-minded consumers to substitute much lower calorie containing beverages. Your city's politicians, always happy to get more tax revenue, go along with their scheme. How do you think consumers of sugary soft drinks in your city will respond?
If you answered they will drink more calorie-laden alcohol-based beverages, you're right!
The latest proof that consumers substitute beer and liquor for sugar-sweetened soft drinks comes to us from Seattle. In December 2017, the city imposed a unique $0.0175 per ounce tax on beverages containing calories from sugar, but not on beverages made with non-calorie-laden sweeteners. For example, consumers buying a two-liter bottle of Coca-Cola would pay an additional tax of $0.35 that consumers of the same size bottle of Diet Coke or Coke Zero would not.
At first glance, you might think consumers of Sugar-Sweetened Beverages (SSB) would choose to switch to the sugar-free versions of their previously preferred soft drink or to water to avoid having to pay so much more for it.
But that's not what happened according to a peer-reviewed study published in PLOS ONE, which found that the tax "induces substitution to alcoholic beverages". More specifically, the consumers preferred substitute wasn't sugar-free beverages. It was beer, whose sales rose by 7% relative to those of the demographically similar city of Portland, Oregon, which didn't impose a soda tax:
There was evidence of substitution to beer following the implementation of the Seattle SSB tax. Continued monitoring of potential unintended outcomes related to the implementation of SSB taxes is needed in future tax evaluations.
How many competent public health advocates do you suppose would push for new or expanded soda taxes knowing that real life consumers are more likely to shift to alcohol-based beverages with equivalent levels of calories instead of water or low-calorie sugar-free soft drinks? Not only do they miss any benefit from reducing calories consumed among the public, higher alcohol consumption comes with the "higher risk of motor accidents/deaths, liver cirrhosis, sexually transmitted diseases, crime and violence, and workplace accidents" to the public's health.
Then again, if you're a long-time reader of Political Calculations, you could have easily predicted that from our analysis of what happened to alcohol sales in Philadelphia after that city's soda tax went into effect.
Image credits: Coca-Cola Photo by Omar Elmokhtar Menazeli on Unsplash. Miller High Life Photo by Waz Lght on Unsplash.
Lisa M. Powell, Julien Leider. Impact of the Seattle Sweetened Beverage Tax on substitution to alcoholic beverages. PLOS ONE 18 January 2022. DOI: 10.1371/journal.pone.0262578.
Baylen Linnekin. Study: Seattle's Soda Tax Has Been Great for... Beer Sales? Reason. [Online Article]. 12 February 2022.
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.