{"id":280,"date":"2011-05-05T13:57:43","date_gmt":"2011-05-05T05:57:43","guid":{"rendered":"http:\/\/gergely.imreh.net\/blog\/?p=280"},"modified":"2011-05-05T14:23:35","modified_gmt":"2011-05-05T06:23:35","slug":"taiwanese-fuel-subsidy-and-the-global-price-api","status":"publish","type":"post","link":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/","title":{"rendered":"Taiwanese fuel subsidy and the Global Price API"},"content":{"rendered":"<p><script src=\"\/js\/highcharts\/highcharts.js\" type=\"text\/javascript\"><\/script><script src=\"\/js\/fuelprice.js\" type=\"text\/javascript\"><\/script>I might have gone a bit overboard with this. Again. It all started when I was reading how the <a title=\"TaiwanNews: Fuel subsidy aims to mitigate impact of rising oil prices\" href=\"http:\/\/www.taipeitimes.com\/News\/taiwan\/archives\/2011\/04\/29\/2003501977\" target=\"_blank\">Taiwanese government is planning to implement a fuel subsid<\/a>y. It bothered me because:<script src=\"\/js\/highcharts\/highcharts.js\" type=\"text\/javascript\"><\/script><\/p>\n<ol>\n<li>I&#8217;m not a big fan of subsidies, since then people cannot make decisions based on the real cost of things<\/li>\n<li>Subsidy comes out of someone&#8217;s pocket anyway, so ultimately everyone does pay for it<\/li>\n<li>Looking at the <a title=\"KMT on wikipedia\" href=\"http:\/\/en.wikipedia.org\/wiki\/Kuomintang\" target=\"_blank\">governing party<\/a>&#8216;s track record and the nearing elections (&lt;1 year), this is likely to be politically motivated<\/li>\n<li>Fuel is pretty cheap compared to other places already, so it must be already heavily subsidized.<\/li>\n<\/ol>\n<p>The points 1, 2 and 3 are opinions and generalizations. I had to realize that point 4 I just thrown in there without knowing whether it is really true &#8211; I just believed it is. Now here&#8217;s a good example for [Citation needed].<\/p>\n<figure style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/xkcd.com\/285\/\"><img loading=\"lazy\" decoding=\"async\" title=\"Wikipedia Protester\" src=\"http:\/\/imgs.xkcd.com\/comics\/wikipedian_protester.png\" alt=\"XKCD: wikipedia protester\" width=\"500\" height=\"271\" \/><\/a><figcaption class=\"wp-caption-text\">XKCD: Wikipedia protester<\/figcaption><\/figure>\n<h3>Filling in the blanks<\/h3>\n<p>Yeah, what do I really know? I lived in Hungary and Britain before, and I remember there fuel was more expensive then in Taiwan. Also, it&#8217;s open knowledge that the US is pretty cheap, compared to most of the world, that is&#8230; But are there any patterns in the price, and what would I expect Taiwan&#8217;s level to be?<\/p>\n<p>I was checking around for a while, fishing for the right keywords for the search (&#8220;fuel&#8221; \/ &#8220;petrol&#8221; \/ &#8220;gas&#8221;, depending where one&#8217;s from, as a starter). Found a couple of sites but they were mostly looking at price comparisons within a country (like\u00a0<a title=\"Petrolprices website\" href=\"http:\/\/www.petrolprices.com\/\" target=\"_blank\">Petrolprices<\/a> for UK) or within a region (like <a title=\"AMZS website for European fuel prices\" href=\"http:\/\/www.amzs.si\/?podrocje=415\" target=\"_blank\">AMZS<\/a> for Europe, works weird &#8211; no real static link, click the UK flag then &#8220;fuel prices&#8221; in the menu on the left). After a while, however, I did come across a German organization,\u00a0<a title=\"GIZ website\" href=\"http:\/\/www.giz.de\/\" target=\"_blank\">Deutsche Gesellschaft f\u00fcr Internationale Zusammenarbeit (GIZ)<\/a> which in fact had a <a title=\"GIZ: International fuel prices\" href=\"http:\/\/www.gtz.de\/en\/themen\/29957.htm\" target=\"_blank\">study about international fuel prices<\/a>. Go ahead and check the 2009 version, it is very interesting to see all that data and some analysis as well. Historical trends, relative prices, some case studies too. I would have loved to see more analysis, but maybe next time, when I&#8217;ll be in the in a position to commission such research. :)<\/p>\n<p>Anyway, looking at the Taiwanese data in from 2009, diesel is\u00a0slightly subsidized while gasoline is, which means that they are somewhat &#8211; but not too much &#8211; below and above the US price, respectively. In the ranking, Taiwan is very much on the cheap end.<\/p>\n<p>While looking around a bit more on their site, they have a <a title=\"Fuel prices data preview for 2010\/2011\" href=\"http:\/\/www.gtz.de\/en\/themen\/33729.htm\" target=\"_blank\">Data preview for 2010\/2011<\/a> as well. The more recent is the data the better. Took a look at that too. Now Taiwan is a bit above of the US price with both types of fuel, but still on the cheap end. All their data was in a picture, though, that&#8217;s not very handy&#8230; So did a little data entry, resulting in this <a title=\"Fuel data txt\" href=\"https:\/\/github.com\/imrehg\/fuel\/raw\/master\/fuel.txt\" target=\"_blank\">datafile<\/a>.<\/p>\n<p>I was also thinking, whether the economy affects the prices, and if does then how? Wikipedia first for <a title=\"Wikipedia: GDP \/ capita\" href=\"http:\/\/en.wikipedia.org\/wiki\/List_of_countries_by_GDP_(nominal)_per_capita\" target=\"_blank\">GDP\/capita for all the countries of the world<\/a>, but they were taking the data from the International Monetary Fund, so let&#8217;s go to the source. I checked out their data export tool and there were quite a few more fields to choose from. I went with GDP per capita, Implied purchasing power parity, Value oil exports, Value of oil imports (these last two are good catch:). The output is <a title=\"IMF data of economies\" href=\"http:\/\/imf.org\/external\/pubs\/ft\/weo\/2011\/01\/weodata\/weorept.aspx?sy=2010&amp;ey=2010&amp;ssd=1&amp;sic=1&amp;sort=subject&amp;ds=.&amp;br=1&amp;pr1.x=48&amp;pr1.y=9&amp;c=512%2C941%2C914%2C446%2C612%2C666%2C614%2C668%2C311%2C672%2C213%2C946%2C911%2C137%2C193%2C962%2C122%2C674%2C912%2C676%2C313%2C548%2C419%2C556%2C513%2C678%2C316%2C181%2C913%2C682%2C124%2C684%2C339%2C273%2C638%2C921%2C514%2C948%2C218%2C943%2C963%2C686%2C616%2C688%2C223%2C518%2C516%2C728%2C918%2C558%2C748%2C138%2C618%2C196%2C522%2C278%2C622%2C692%2C156%2C694%2C624%2C142%2C626%2C449%2C628%2C564%2C228%2C283%2C924%2C853%2C233%2C288%2C632%2C293%2C636%2C566%2C634%2C964%2C238%2C182%2C662%2C453%2C960%2C968%2C423%2C922%2C935%2C714%2C128%2C862%2C611%2C716%2C321%2C456%2C243%2C722%2C248%2C942%2C469%2C718%2C253%2C724%2C642%2C576%2C643%2C936%2C939%2C961%2C644%2C813%2C819%2C199%2C172%2C184%2C132%2C524%2C646%2C361%2C648%2C362%2C915%2C364%2C134%2C732%2C652%2C366%2C174%2C734%2C328%2C144%2C258%2C146%2C656%2C463%2C654%2C528%2C336%2C923%2C263%2C738%2C268%2C578%2C532%2C537%2C944%2C742%2C176%2C866%2C534%2C369%2C536%2C744%2C429%2C186%2C433%2C925%2C178%2C869%2C436%2C746%2C136%2C926%2C343%2C466%2C158%2C112%2C439%2C111%2C916%2C298%2C664%2C927%2C826%2C846%2C542%2C299%2C967%2C582%2C443%2C474%2C917%2C754%2C544%2C698&amp;s=NGDPDPC%2CPPPEX%2CTXGO%2CTMGO&amp;grp=0&amp;a=\" target=\"_blank\">here<\/a>. The bottom of the page has a download link, downloaded it into this <a title=\"Economy data\" href=\"https:\/\/github.com\/imrehg\/fuel\/raw\/master\/input.txt\" target=\"_blank\">file<\/a> without modifications.<\/p>\n<p>Next, had to write some analysis code for the whole thing as well, converting the data into suitable database, fixing some errors in the primary database&#8217;s data formats. So in the end I had a simple little <a title=\"Conversion script\" href=\"https:\/\/github.com\/imrehg\/fuel\/blob\/master\/convert.py\" target=\"_blank\">script<\/a> that does:<\/p>\n<ol>\n<li>Clean up some of the names (some Unicode errors originally), and fixes one: I do want to convert the original &#8220;Taiwan Province of China&#8221; into &#8220;Taiwan&#8221;&#8230;<\/li>\n<li>Fix formatting errors in the IMF \u00a0data: they used number formats of &#8220;12,345.00&#8221; instead of just &#8220;12345.00&#8221;<\/li>\n<li>Fill missing values with &#8220;-1&#8221; so it&#8217;s easy to filter out later<\/li>\n<li>Rank countries by fuel price, ignore countries that have missing economic data or missing price data<\/li>\n<li>Combine all this and print out on the console<\/li>\n<\/ol>\n<p>(Scripts and data are shared in <a title=\"Fuel - git repo\" href=\"https:\/\/github.com\/imrehg\/fuel\" target=\"_blank\">this git repo<\/a>.)<\/p>\n<h3>Taking a look<\/h3>\n<p>I was looking around for some useful visualizer &#8211; something that can handle this much data better then an ordinary static plot. Fortunately, <a title=\"Highcharts JS website\" href=\"http:\/\/www.highcharts.com\/\" target=\"_blank\">Highcharts JS<\/a> seems to just the right thing&#8230;<\/p>\n<p>The first plot I wanted to reproduce is the one from GIZ&#8217;s Data preview. Let&#8217;s see how it works out:<\/p>\n<div id=\"fuelrank\" style=\"width: 540px; height: 450px; margin: 0 auto\"><\/div>\n<p>Instructions: &#8220;red&#8221;\/&#8221;blue&#8221; countries are net oil exporter\/importer respectively, hover over any of the lines to see which country it is, can click-and-drag zoom into area&#8230;<\/p>\n<p>So yeah, Taiwan is down at 49 out of 161 countries, and just few net-importer (blue) countries ranking higher. Even those are mostly poor ones.<\/p>\n<p>Now the second picture, how do fuel prices compare with GDP\/capita &#8211; which I naively think to have some connection to economical power:<\/p>\n<div id=\"fueleconomy\" style=\"width: 540px; height: 450px; margin: 0 auto\"><\/div>\n<p>Instructions: note that the GDP scale is logarithmic, hover and zoom are the same as before.<\/p>\n<p>Might be just my eyes, but it seems to me that there are two lines on this plot if one ignores the net exporter (red) countries for a second. From the middle to the right prices are increasing: the wealthier countries can pay more for the fuel. On the other hand, from the middle to the left prices are increasing again: poorer countries cannot really afford it. The cheapest (nominally) are the middle-to-poor, $1000-5000 GDP\/person countries.<\/p>\n<p><strong>Bottom line:<\/strong> Taiwan is there at ~$18000\/\u00a2100, and if there are indeed these lines, then Taiwan is waaaay below the wealthy country line. Based on the economy, the price should be closer to\u00a0\u00a2150. This suggest to me that the original\u00a0assessment was correct: Taiwanese fuel is cheap.<\/p>\n<h3>Global Price API<\/h3>\n<p>All of this data-hunting and conversion and plotting should not be this much of a pain. I have a feeling there&#8217;s need and desire for open access for such information and that transparency would help people&#8217;s decision making &#8211; whether those people are in charge or part of the public (and should be &#8220;ultimately in charge&#8221;). Of course, I&#8217;m not the only one to say this, and I&#8217;m not even a very good one making this happen &#8211; just check out <a title=\"Hans Rosling shows the best stats you've ever seen\" href=\"http:\/\/www.ted.com\/talks\/hans_rosling_shows_the_best_stats_you_ve_ever_seen.html\" target=\"_blank\">Hans Rosling&#8217;s TED talk<\/a>.<\/p>\n<p>I was thinking, how to build a globally accessible database of consumer prices? Fuel is a good choice because it&#8217;s universally needed and there are not too many kinds, one can compare apples to apples. On the other hand, there could be other items as well. Maybe recruit a few\u00a0volunteers from a big bunch of countries so periodically they add more info to a database. Or fully crowdsource it, maybe even the item categories as well? Then build an interface that it can be easily queried and used by programmers and non-programmers as well. Or is there any such database already? Pitching version: <strong>&#8220;Archive.org for global price and other public data&#8221;<\/strong>. Not that I have a business model for this&#8230; I&#8217;m sure I&#8217;d prefer the same as <a title=\"SimpleGeo opens up their places data\" href=\"http:\/\/blog.simplegeo.com\/2011\/04\/20\/open-places-data\/\" target=\"_blank\">SimpleGeo<\/a> and completely open the data itself, but I know there are people who will still find opportunities &#8211; or make some.<\/p>\n<p>Any thoughts on this? One selfish thought I have is that this would be lovely so I <em>never ever again<\/em> have to manually enter all the names of all the countries of the world. :) But I do believe there&#8217;s much more to this project.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I might have gone a bit overboard with this. Again. It all started when I was reading how the Taiwanese government is planning to implement a fuel subsidy. It bothered me because: I&#8217;m not a big fan of subsidies, since then people cannot make decisions based on the real cost of things Subsidy comes out [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,9],"tags":[22,173],"class_list":["post-280","post","type-post","status-publish","format-standard","hentry","category-prog","category-tw","tag-data","tag-tw"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Taiwanese fuel subsidy and the Global Price API - ClickedyClick<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Taiwanese fuel subsidy and the Global Price API - ClickedyClick\" \/>\n<meta property=\"og:description\" content=\"I might have gone a bit overboard with this. Again. It all started when I was reading how the Taiwanese government is planning to implement a fuel subsidy. It bothered me because: I&#8217;m not a big fan of subsidies, since then people cannot make decisions based on the real cost of things Subsidy comes out [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/\" \/>\n<meta property=\"og:site_name\" content=\"ClickedyClick\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/gergely.imreh\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/gergely.imreh\" \/>\n<meta property=\"article:published_time\" content=\"2011-05-05T05:57:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-05-05T06:23:35+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/imgs.xkcd.com\/comics\/wikipedian_protester.png\" \/>\n<meta name=\"author\" content=\"Gergely Imreh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@imrehg\" \/>\n<meta name=\"twitter:site\" content=\"@imrehg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gergely Imreh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/\"},\"author\":{\"name\":\"Gergely Imreh\",\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/#\\\/schema\\\/person\\\/42391e2ae52c8ed76b37be509a5707b0\"},\"headline\":\"Taiwanese fuel subsidy and the Global Price API\",\"datePublished\":\"2011-05-05T05:57:43+00:00\",\"dateModified\":\"2011-05-05T06:23:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/\"},\"wordCount\":1299,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/#\\\/schema\\\/person\\\/42391e2ae52c8ed76b37be509a5707b0\"},\"image\":{\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/imgs.xkcd.com\\\/comics\\\/wikipedian_protester.png\",\"keywords\":[\"data\",\"Taiwan\"],\"articleSection\":[\"Programming\",\"Taiwan\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/\",\"url\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/\",\"name\":\"Taiwanese fuel subsidy and the Global Price API - ClickedyClick\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/imgs.xkcd.com\\\/comics\\\/wikipedian_protester.png\",\"datePublished\":\"2011-05-05T05:57:43+00:00\",\"dateModified\":\"2011-05-05T06:23:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/#primaryimage\",\"url\":\"http:\\\/\\\/imgs.xkcd.com\\\/comics\\\/wikipedian_protester.png\",\"contentUrl\":\"http:\\\/\\\/imgs.xkcd.com\\\/comics\\\/wikipedian_protester.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/2011\\\/05\\\/taiwanese-fuel-subsidy-and-the-global-price-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Taiwanese fuel subsidy and the Global Price API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/\",\"name\":\"ClickedyClick\",\"description\":\"Life in real, complex and digital.\",\"publisher\":{\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/#\\\/schema\\\/person\\\/42391e2ae52c8ed76b37be509a5707b0\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/#\\\/schema\\\/person\\\/42391e2ae52c8ed76b37be509a5707b0\",\"name\":\"Gergely Imreh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1d5be311c5d616a3f4c7dfbc6b736ec817d2508b8c420ec29edb950d33fb4946?s=96&d=retro&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1d5be311c5d616a3f4c7dfbc6b736ec817d2508b8c420ec29edb950d33fb4946?s=96&d=retro&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1d5be311c5d616a3f4c7dfbc6b736ec817d2508b8c420ec29edb950d33fb4946?s=96&d=retro&r=g\",\"caption\":\"Gergely Imreh\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/1d5be311c5d616a3f4c7dfbc6b736ec817d2508b8c420ec29edb950d33fb4946?s=96&d=retro&r=g\"},\"description\":\"Physicist, hacker. Enjoys avant-guarde literature probably a bit too much. Open source advocate and contributor, both for software and hardware. Follow these posts on the Fediverse by @gergely@gergely.imreh.net\",\"sameAs\":[\"https:\\\/\\\/gergely.imreh.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/gergely.imreh\",\"https:\\\/\\\/www.instagram.com\\\/imrehg\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/gergelyimreh\\\/\",\"https:\\\/\\\/www.youtube.com\\\/@GergelyImreh\"],\"url\":\"https:\\\/\\\/gergely.imreh.net\\\/blog\\\/author\\\/gergely\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Taiwanese fuel subsidy and the Global Price API - ClickedyClick","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/","og_locale":"en_GB","og_type":"article","og_title":"Taiwanese fuel subsidy and the Global Price API - ClickedyClick","og_description":"I might have gone a bit overboard with this. Again. It all started when I was reading how the Taiwanese government is planning to implement a fuel subsidy. It bothered me because: I&#8217;m not a big fan of subsidies, since then people cannot make decisions based on the real cost of things Subsidy comes out [&hellip;]","og_url":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/","og_site_name":"ClickedyClick","article_publisher":"https:\/\/www.facebook.com\/gergely.imreh","article_author":"https:\/\/www.facebook.com\/gergely.imreh","article_published_time":"2011-05-05T05:57:43+00:00","article_modified_time":"2011-05-05T06:23:35+00:00","og_image":[{"url":"http:\/\/imgs.xkcd.com\/comics\/wikipedian_protester.png","type":"","width":"","height":""}],"author":"Gergely Imreh","twitter_card":"summary_large_image","twitter_creator":"@imrehg","twitter_site":"@imrehg","twitter_misc":{"Written by":"Gergely Imreh","Estimated reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/#article","isPartOf":{"@id":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/"},"author":{"name":"Gergely Imreh","@id":"https:\/\/gergely.imreh.net\/blog\/#\/schema\/person\/42391e2ae52c8ed76b37be509a5707b0"},"headline":"Taiwanese fuel subsidy and the Global Price API","datePublished":"2011-05-05T05:57:43+00:00","dateModified":"2011-05-05T06:23:35+00:00","mainEntityOfPage":{"@id":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/"},"wordCount":1299,"commentCount":0,"publisher":{"@id":"https:\/\/gergely.imreh.net\/blog\/#\/schema\/person\/42391e2ae52c8ed76b37be509a5707b0"},"image":{"@id":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/#primaryimage"},"thumbnailUrl":"http:\/\/imgs.xkcd.com\/comics\/wikipedian_protester.png","keywords":["data","Taiwan"],"articleSection":["Programming","Taiwan"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/","url":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/","name":"Taiwanese fuel subsidy and the Global Price API - ClickedyClick","isPartOf":{"@id":"https:\/\/gergely.imreh.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/#primaryimage"},"image":{"@id":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/#primaryimage"},"thumbnailUrl":"http:\/\/imgs.xkcd.com\/comics\/wikipedian_protester.png","datePublished":"2011-05-05T05:57:43+00:00","dateModified":"2011-05-05T06:23:35+00:00","breadcrumb":{"@id":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/#primaryimage","url":"http:\/\/imgs.xkcd.com\/comics\/wikipedian_protester.png","contentUrl":"http:\/\/imgs.xkcd.com\/comics\/wikipedian_protester.png"},{"@type":"BreadcrumbList","@id":"https:\/\/gergely.imreh.net\/blog\/2011\/05\/taiwanese-fuel-subsidy-and-the-global-price-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gergely.imreh.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Taiwanese fuel subsidy and the Global Price API"}]},{"@type":"WebSite","@id":"https:\/\/gergely.imreh.net\/blog\/#website","url":"https:\/\/gergely.imreh.net\/blog\/","name":"ClickedyClick","description":"Life in real, complex and digital.","publisher":{"@id":"https:\/\/gergely.imreh.net\/blog\/#\/schema\/person\/42391e2ae52c8ed76b37be509a5707b0"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gergely.imreh.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/gergely.imreh.net\/blog\/#\/schema\/person\/42391e2ae52c8ed76b37be509a5707b0","name":"Gergely Imreh","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/1d5be311c5d616a3f4c7dfbc6b736ec817d2508b8c420ec29edb950d33fb4946?s=96&d=retro&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1d5be311c5d616a3f4c7dfbc6b736ec817d2508b8c420ec29edb950d33fb4946?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1d5be311c5d616a3f4c7dfbc6b736ec817d2508b8c420ec29edb950d33fb4946?s=96&d=retro&r=g","caption":"Gergely Imreh"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/1d5be311c5d616a3f4c7dfbc6b736ec817d2508b8c420ec29edb950d33fb4946?s=96&d=retro&r=g"},"description":"Physicist, hacker. Enjoys avant-guarde literature probably a bit too much. Open source advocate and contributor, both for software and hardware. Follow these posts on the Fediverse by @gergely@gergely.imreh.net","sameAs":["https:\/\/gergely.imreh.net\/","https:\/\/www.facebook.com\/gergely.imreh","https:\/\/www.instagram.com\/imrehg\/","https:\/\/www.linkedin.com\/in\/gergelyimreh\/","https:\/\/www.youtube.com\/@GergelyImreh"],"url":"https:\/\/gergely.imreh.net\/blog\/author\/gergely\/"}]}},"_links":{"self":[{"href":"https:\/\/gergely.imreh.net\/blog\/wp-json\/wp\/v2\/posts\/280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gergely.imreh.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gergely.imreh.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gergely.imreh.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gergely.imreh.net\/blog\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":23,"href":"https:\/\/gergely.imreh.net\/blog\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"predecessor-version":[{"id":301,"href":"https:\/\/gergely.imreh.net\/blog\/wp-json\/wp\/v2\/posts\/280\/revisions\/301"}],"wp:attachment":[{"href":"https:\/\/gergely.imreh.net\/blog\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gergely.imreh.net\/blog\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gergely.imreh.net\/blog\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}