<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>coronavirus &#8211; www.musings.ch</title>
	<atom:link href="https://www.musings.ch/tag/coronavirus/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.musings.ch</link>
	<description></description>
	<lastBuildDate>Wed, 19 May 2021 18:42:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://www.musings.ch/wp-content/uploads/2020/02/cropped-56884-200-2-32x32.png</url>
	<title>coronavirus &#8211; www.musings.ch</title>
	<link>https://www.musings.ch</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>The Pandemic is a Conspiracy</title>
		<link>https://www.musings.ch/2021/05/19/the-covid-pandemic-is-a-conspiracy/</link>
		
		<dc:creator><![CDATA[random individual]]></dc:creator>
		<pubDate>Wed, 19 May 2021 18:42:04 +0000</pubDate>
				<category><![CDATA[covid-19]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[conspiracy]]></category>
		<category><![CDATA[coronavirus]]></category>
		<guid isPermaLink="false">https://www.musings.ch/?p=873</guid>

					<description><![CDATA[by the disinfectant industrial complex to get us all constantly high. You read it here first.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">by the disinfectant industrial complex to get us all constantly high. You read it here first.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>COVID-19: infections, distancing</title>
		<link>https://www.musings.ch/2020/05/16/covid-19infections-distancing/</link>
		
		<dc:creator><![CDATA[random individual]]></dc:creator>
		<pubDate>Sat, 16 May 2020 10:16:56 +0000</pubDate>
				<category><![CDATA[covid-19]]></category>
		<category><![CDATA[coronavirus]]></category>
		<category><![CDATA[distancing]]></category>
		<category><![CDATA[infections]]></category>
		<guid isPermaLink="false">https://www.musings.ch/?p=561</guid>

					<description><![CDATA[Excellent blog post around distancing and how infection travels through time and space: https://www.erinbromage.com/post/the-risks-know-them-avoid-them]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Excellent blog post around distancing and how infection travels through time and space: </p>



<p class="wp-block-paragraph"><a href="https://www.erinbromage.com/post/the-risks-know-them-avoid-them">https://www.erinbromage.com/post/the-risks-know-them-avoid-them</a></p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>COVID-19: space, density</title>
		<link>https://www.musings.ch/2020/04/22/covid-19-space-and-density/</link>
		
		<dc:creator><![CDATA[random individual]]></dc:creator>
		<pubDate>Wed, 22 Apr 2020 11:52:48 +0000</pubDate>
				<category><![CDATA[covid-19]]></category>
		<category><![CDATA[love]]></category>
		<category><![CDATA[coronavirus]]></category>
		<guid isPermaLink="false">https://www.musings.ch/?p=535</guid>

					<description><![CDATA[Just imagine how much space we&#8217;d safe if all office work would move to remote work permanently.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Just imagine how much space we&#8217;d safe if all office work would move to remote work permanently.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>COVID-19: Switzerland Trend Graph</title>
		<link>https://www.musings.ch/2020/03/25/covid-19-switzerland-day-to-day-trend-graph/</link>
		
		<dc:creator><![CDATA[random individual]]></dc:creator>
		<pubDate>Wed, 25 Mar 2020 18:50:41 +0000</pubDate>
				<category><![CDATA[covid-19]]></category>
		<category><![CDATA[switzerland]]></category>
		<category><![CDATA[chart]]></category>
		<category><![CDATA[coronavirus]]></category>
		<guid isPermaLink="false">https://www.musings.ch/?p=350</guid>

					<description><![CDATA[Here&#8217;s a graph tracking day/day COVID-19 cases across Switzerland. Updated realtime, as new data becomes available. data source: https://github.com/daenuprobst/covid19-cases-switzerland/]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Here&#8217;s a graph tracking day/day COVID-19 cases across Switzerland. Updated realtime, as new data becomes available.</p>



<div id="linechart" style="height: 500px;"></div>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

<script>
jQuery(document).ready(function() {

  function getData() {
    return [
      jQuery.ajax({
          type: "GET",
          url: "https://api.github.com/repos/daenuprobst/covid19-cases-switzerland/contents/covid19_cases_switzerland.csv",
          headers: {'Accept': 'application/vnd.github.v3.raw'},
          dataType: "text",
          success: function(data) {processData(data);}
       }),
      jQuery.ajax({
          type: "GET",
          url: "https://api.github.com/repos/daenuprobst/covid19-cases-switzerland/contents/covid19_cases_switzerland_openzh.csv",
          headers: {'Accept': 'application/vnd.github.v3.raw'},
          dataType: "text",
          success: function(data) {processData(data);}
       }),
    ];
  }
  getData();
});

var dta = [['Day', 'Count']];
var map = {};
function processData(csvData) {
  var csvDataLines = csvData.split(/\r\n|\n/).filter(item => item);
  var sep = (csvDataLines.indexOf(';') > 0) ? ';' : ',';
  for (var j = 1; j < csvDataLines.length; j++) {
    row = csvDataLines[j].split(',');
    // merge both datasources
    map[row[0]] = parseInt(row[27]);
  }
  // meh...
  var dta_remap = [];
  for(var key in map) {
    dta_remap[dta_remap.length] = [key, map[key]];
  }

  google.charts.load('current', {'packages':['corechart']});
  google.charts.setOnLoadCallback(drawChart);

  function drawChart() {
    var data = google.visualization.arrayToDataTable(dta.concat(dta_remap.sort()));

    var options = {
      title: 'COVID-19 cases per day',
      legend: { position: 'bottom' }
    };

    var chart = new google.visualization.LineChart(document.getElementById('linechart'));

    chart.draw(data, options);
  }
}
</script>



<p class="wp-block-paragraph">data source: <a href="https://github.com/daenuprobst/covid19-cases-switzerland/">https://github.com/daenuprobst/covid19-cases-switzerland/</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>COVID-19: daily heatmap</title>
		<link>https://www.musings.ch/2020/03/19/covid-19-daily-heatmap/</link>
		
		<dc:creator><![CDATA[random individual]]></dc:creator>
		<pubDate>Thu, 19 Mar 2020 18:58:43 +0000</pubDate>
				<category><![CDATA[cartography]]></category>
		<category><![CDATA[covid-19]]></category>
		<category><![CDATA[switzerland]]></category>
		<category><![CDATA[coronavirus]]></category>
		<category><![CDATA[heatmap]]></category>
		<category><![CDATA[map]]></category>
		<guid isPermaLink="false">https://www.musings.ch/?p=306</guid>

					<description><![CDATA[Thanks to the awesome work of Daniel Probst, collecting per canton data and publishing it on https://github.com/daenuprobst/covid19-cases-switzerland, I was able to pull this quick heatmap together, showing latest (ie daily) confirmed cases of COVID-19 in Switzerland, updated constantly (whenever source data changes). note: unreported cantonal data is backfilled from the previous day (previous post on&#8230; <a class="more-link" href="https://www.musings.ch/2020/03/19/covid-19-daily-heatmap/">Continue reading <span class="screen-reader-text">COVID-19: daily heatmap</span></a>]]></description>
										<content:encoded><![CDATA[
<div id="map" style="height: 500px;"></div>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAxkqrVUwcSHsEXM301sgGGc6XH_ju6l9o&amp;libraries=visualization"></script>

<script>
var cantons = {
  AG: {location: new google.maps.LatLng(47.409703, 8.154694), weight: 0, name: 'Aargau'},
  AI: {location: new google.maps.LatLng(47.317264, 9.416754), weight: 0, name: 'Appenzell Innerrhoden'},
  AR: {location: new google.maps.LatLng(47.366352, 9.36791), weight: 0, name: 'Appenzell Ausserrhoden'},
  BE: {location: new google.maps.LatLng(46.823608, 7.636667), weight: 0, name: 'Bern'},
  BL: {location: new google.maps.LatLng(47.45176,  7.702414), weight: 0, name: 'Basel-Landschaft'},
  BS: {location: new google.maps.LatLng(47.564869, 7.615259), weight: 0, name: 'Basel-Stadt'},
  FR: {location: new google.maps.LatLng(46.718391, 7.074008), weight: 0, name: 'Fribourg'},
  GE: {location: new google.maps.LatLng(46.220528, 6.132935), weight: 0, name: 'Geneva'},
  GL: {location: new google.maps.LatLng(46.981042, 9.065751), weight: 0, name: 'Glarus'},
  GR: {location: new google.maps.LatLng(46.656248, 9.628198), weight: 0, name: 'Graubünden'},
  JU: {location: new google.maps.LatLng(47.350744, 7.156107), weight: 0, name: 'Jura'},
  LU: {location: new google.maps.LatLng(47.067763, 8.1102), weight: 0, name: 'Luzern'},
  NE: {location: new google.maps.LatLng(46.995534, 6.780126), weight: 0, name: 'Neuchatel'},
  NW: {location: new google.maps.LatLng(46.926755, 8.405302), weight: 0, name: 'Nidwalden'},
  OW: {location: new google.maps.LatLng(46.854527, 8.244317), weight: 0, name: 'Obwalden'},
  SG: {location: new google.maps.LatLng(47.2332, 9.274744), weight: 0, name: 'Sankt Gallen'},
  SH: {location: new google.maps.LatLng(47.71357, 8.59167), weight: 0, name: 'Schaffhausen'},
  SO: {location: new google.maps.LatLng(47.304135, 7.639388), weight: 0, name: 'Solothurn'},
  SZ: {location: new google.maps.LatLng(47.061787, 8.756585), weight: 0, name: 'Schwyz'},
  TG: {location: new google.maps.LatLng(47.568715, 9.091957), weight: 0, name: 'Thurgau'},
  TI: {location: new google.maps.LatLng(46.295617, 8.808924), weight: 0, name: 'Ticino'},
  UR: {location: new google.maps.LatLng(46.771849, 8.628586), weight: 0, name: 'Uri'},
  VD: {location: new google.maps.LatLng(46.570091, 6.657809), weight: 0, name: 'Vaud'},
  VS: {location: new google.maps.LatLng(46.209567, 7.604659), weight: 0, name: 'Valais'},
  ZG: {location: new google.maps.LatLng(47.157296, 8.537294), weight: 0, name: 'Zug'},
  ZH: {location: new google.maps.LatLng(47.41275, 8.65508), weight: 0, name: 'Zurich'},
};

jQuery(document).ready(function() {
  function getData() {
    return [
      jQuery.ajax({
          type: "GET",
          url: "https://api.github.com/repos/daenuprobst/covid19-cases-switzerland/contents/covid19_cases_switzerland.csv",
          headers: {'Accept': 'application/vnd.github.v3.raw'},
          dataType: "text",
          success: function(data) {processData(data);}
       }),
      jQuery.ajax({
          type: "GET",
          url: "https://api.github.com/repos/daenuprobst/covid19-cases-switzerland/contents/covid19_cases_switzerland_openzh.csv",
          headers: {'Accept': 'application/vnd.github.v3.raw'},
          dataType: "text",
          success: function(data) {processData(data);}
       }),
    ];
  }
  getData();
});

function processData(csvData) {
  var csvDataLines = csvData.split(/\r\n|\n/).filter(item => item);
  var keys = csvDataLines[0].split(',');
  //var values = csvDataLines[csvDataLines.length - 1].split(',');
  // account for datasource switching between , and ;
  var sep = (csvDataLines.indexOf(';') > 0) ? ';' : ',';
  // extra loop to backfill empties (use last known)
  for (var j = 0; j < csvDataLines.length; j++) {
    row = csvDataLines[j].split(sep);
    for (var i = 0; i < keys.length; i++) {
      var cases = parseInt(row[i]);
      if (keys[i] in cantons) {
        if (cases > 0) {
          cantons[keys[i]].weight = cases;
        }
      }
    }
  }
  plotheatmap(cantons);
  plotchart();
}

function plotheatmap(cantons) {
  var heatmapData = [];
  for (canton in cantons) { heatmapData.push(cantons[canton]); }
  var heatmapCenter = new google.maps.LatLng(46.798476, 8.231787);

  map = new google.maps.Map(document.getElementById('map'), {
    center: heatmapCenter,
    zoom: 7,
    mapTypeId: 'roadmap'
  });

  var heatmap = new google.maps.visualization.HeatmapLayer({
    data: heatmapData
  });
  heatmap.setMap(map);
  heatmap.set('radius', 22);
  heatmap.set('maxIntensity', 100);
  heatmap.set('opacity', 0.8);
  var gradient = [
    'rgba(0,255,255,0)',
    'rgba(35,34,65,1)',
    'rgba(59,58,98,1)',
    'rgba(80,79,128,1)',
    'rgba(96,95,150,1)',
    'rgba(112,111,172,1)',
    'rgba(130,130,198,1)',
    'rgba(146,146,221,1)',
    'rgba(164,164,247,1)',
    'rgba(165,170,246,1)',
    'rgba(166,177,245,1)',
    'rgba(167,185,243,1)',
    'rgba(168,195,241,1)',
    'rgba(170,205,239,1)',
    'rgba(171,212,238,1)',
    'rgba(172,218,237,1)',
    'rgba(199,245,255,1)',
  ];
  heatmap.set('gradient', gradient);
}
</script>



<p class="wp-block-paragraph">Thanks to the awesome work of <a href="https://github.com/daenuprobst">Daniel Probst</a>, collecting per canton data and publishing it on <a href="https://github.com/daenuprobst/covid19-cases-switzerland">https://github.com/daenuprobst/covid19-cases-switzerland</a>, I was able to pull this quick heatmap together, showing latest (ie daily) confirmed cases of COVID-19 in Switzerland, updated constantly (whenever source data changes).</p>



<p class="wp-block-paragraph"><strong>note:</strong> unreported cantonal data is backfilled from the previous day</p>



<p class="wp-block-paragraph">(previous post on this topic: <a href="https://www.musings.ch/2020/03/13/covid-19-heatmap-schweiz/">https://www.musings.ch/2020/03/13/covid-19-heatmap-schweiz/</a>)</p>



<div id="chart_div" style="height: 500px;"></div>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
function plotchart() {
  google.charts.load('current', {
    'packages': ['geochart'],
    'mapsApiKey': 'AIzaSyAxkqrVUwcSHsEXM301sgGGc6XH_ju6l9o'
  });
  google.charts.setOnLoadCallback(drawRegionsMap);
}

function drawRegionsMap() {
  var provincemapData = [['Canton', 'Count']];
  for (canton in cantons) {
    provincemapData.push([cantons[canton].name, cantons[canton].weight]);
  }
  var data = google.visualization.arrayToDataTable(provincemapData);
  var options = {
    region: 'CH',
    displayMode: 'regions',
    resolution: 'provinces',
    defaultColor: '#87d7fa',
    colorAxis: {minValue: 0, colors: ['#87d7fa', '#0075a8']}
  };
  var chart = new google.visualization.GeoChart(document.getElementById('chart_div'));
  chart.draw(data, options);
}
 </script>



<p class="wp-block-paragraph">And since heatmaps over broad areas are not necessarily useful, here&#8217;s a map of cantons affected.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>COVID-19: lagging indicator of protectionism/lockdowns</title>
		<link>https://www.musings.ch/2020/03/18/covid-19-lagging-indicator-of-protectionism-lockdowns/</link>
		
		<dc:creator><![CDATA[random individual]]></dc:creator>
		<pubDate>Wed, 18 Mar 2020 16:58:49 +0000</pubDate>
				<category><![CDATA[covid-19]]></category>
		<category><![CDATA[ouch]]></category>
		<category><![CDATA[coronavirus]]></category>
		<category><![CDATA[iata]]></category>
		<category><![CDATA[switzerland]]></category>
		<guid isPermaLink="false">https://www.musings.ch/?p=225</guid>

					<description><![CDATA[On 2020-03-15, when I checked IATA&#8217;s travel advisories, it totaled 17 matches for &#8220;Switzerland&#8221;. Today: This includes 3 matches for the Switzerland section alone&#8230; but still. Update: 2020-03-19 Update: 2020-03-20 Update: 2020-03-21 Update: 2020-03-22 Update: 2020-03-23 Update: 2020-03-24 Update: 2020-03-25 Update: 2020-03-26 Update: 2020-03-27 Update: 2020-03-28 Update: 2020-03-29 Update: 2020-03-30 Update: 2020-03-31 Update: 2020-04-01 Update:&#8230; <a class="more-link" href="https://www.musings.ch/2020/03/18/covid-19-lagging-indicator-of-protectionism-lockdowns/">Continue reading <span class="screen-reader-text">COVID-19: lagging indicator of protectionism/lockdowns</span></a>]]></description>
										<content:encoded><![CDATA[
<div id="linechart" style="height: 500px;"></div>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>

<script>
google.charts.load('current', {'packages':['corechart']});
google.charts.setOnLoadCallback(drawChart);

function drawChart() {
  var data = google.visualization.arrayToDataTable([
    ['Date', 'Count'],
    ['2020-03-15', 17],
    ['2020-03-15', 29],
    ['2020-03-19', 46],
    ['2020-03-20', 56],
    ['2020-03-21', 57],
    ['2020-03-22', 70],
    ['2020-03-23', 73],
    ['2020-03-24', 67],
    ['2020-03-25', 66],
    ['2020-03-26', 67],
    ['2020-03-27', 64],
    ['2020-03-28', 65],
    ['2020-03-29', 67],
    ['2020-03-30', 67],
    ['2020-03-31', 65],
    ['2020-04-01', 65],
    ['2020-04-02', 64],
    ['2020-04-03', 64],
    ['2020-04-04', 63],
    ['2020-04-05', 65],
    ['2020-04-06', 65],
    ['2020-04-07', 65],
    ['2020-04-08', 65],
    ['2020-04-09', 62],
    ['2020-04-10', 60],
    ['2020-04-11', 67],
    ['2020-04-12', 67],
    ['2020-04-13', 68],
    ['2020-04-14', 68],
    ['2020-04-15', 69],
    ['2020-04-16', 68],
    ['2020-04-17', 64],
    ['2020-04-18', 64],
    ['2020-04-19', 64],
    ['2020-04-20', 64],
    ['2020-04-21', 64],
    ['2020-04-22', 65],
    ['2020-04-23', 65],
    ['2020-04-24', 65],
    ['2020-04-25', 66],
    ['2020-04-26', 66],
    ['2020-04-27', 66],
    ['2020-04-28', 66],
    ['2020-04-29', 67],
    ['2020-04-30', 67],
    ['2020-05-01', 67],
    ['2020-05-02', 67],
  ]);
  var options = {
    title: 'COVID-19: Travel Restrictions mentioning Switzerland (undeduped)',
    legend: { position: 'bottom' }
  };

  var chart = new google.visualization.LineChart(document.getElementById('linechart'));
  chart.draw(data, options);
}
</script>



<p class="wp-block-paragraph">On 2020-03-15, when I checked <a href="https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm">IATA&#8217;s travel advisories</a>, it totaled 17 matches for &#8220;Switzerland&#8221;. Today:</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      29</code></pre>



<p class="wp-block-paragraph">This includes 3 matches for the Switzerland section alone&#8230; but still.</p>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-19</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      46</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-20</p>



<pre class="wp-block-code"><code>curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      56</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-21</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      57</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-22</p>



<pre class="wp-block-code"><code>curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      70</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-23</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      73</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-24</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      67</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-25</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      66</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-26</p>



<pre class="wp-block-code"><code>curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      67</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-27</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      64</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-28</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      65</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-29</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      67</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-30</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      67</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-03-31</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      65</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-01</p>



<pre class="wp-block-code"><code>curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      65</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-02</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      64</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-03</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      64</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-04</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      63</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-05</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      65</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-06</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      65</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-07</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      65</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-08</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      65</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-09</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      62</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-10</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      60</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-11</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      67</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-12</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      67</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-13</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      68</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-14</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      68</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-15</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      69</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-16</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      68</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-17</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      64</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-18</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      64</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-19</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      64</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-20</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      64</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-21</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      64</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-22</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      65</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-23</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      65</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-24</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      65</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-25</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      66</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-26</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      66</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-27</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      66</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-28</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      66</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-29</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      67</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-04-30</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      67</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-05-01</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      67</code></pre>



<p class="wp-block-paragraph"><strong>Update:</strong> 2020-05-02</p>



<pre class="wp-block-code"><code>$ curl -s https://www.iatatravelcentre.com/international-travel-document-news/1580226297.htm | grep -o Switzerland | wc -l
      67</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>COVID-19: Heatmap Schweiz</title>
		<link>https://www.musings.ch/2020/03/13/covid-19-heatmap-schweiz/</link>
					<comments>https://www.musings.ch/2020/03/13/covid-19-heatmap-schweiz/#comments</comments>
		
		<dc:creator><![CDATA[random individual]]></dc:creator>
		<pubDate>Fri, 13 Mar 2020 22:36:50 +0000</pubDate>
				<category><![CDATA[cartography]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[covid-19]]></category>
		<category><![CDATA[switzerland]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[coronavirus]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[heatmap]]></category>
		<category><![CDATA[karte]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[schweiz]]></category>
		<guid isPermaLink="false">https://www.musings.ch/?p=179</guid>

					<description><![CDATA[Since I was playing with Google Maps API heatmaps recently, I thought I&#8217;d put together a quick heatmap showing confirmed COVID-19 cases in Switzerland. COVID-19 cases per 100k inhabitants, in Switzerland, as of 2020-03-19. Updated 19.03.2020 using https://www.bag.admin.ch/dam/bag/de/dokumente/mt/k-und-i/aktuelle-ausbrueche-pandemien/2019-nCoV/covid-19-lagebericht.pdf.download.pdf/COVID-19_Epidemiologische_Lage_Schweiz.pdf &#8211; now based on incidence of cases per 100k inhabitants. Day to day developments: 2020-03-14: Updated 14.03.2020&#8230; <a class="more-link" href="https://www.musings.ch/2020/03/13/covid-19-heatmap-schweiz/">Continue reading <span class="screen-reader-text">COVID-19: Heatmap Schweiz</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Since I was playing with Google Maps API heatmaps recently, I thought I&#8217;d put together a quick heatmap showing confirmed COVID-19 cases in Switzerland.</p>



<div id="map" style="height: 500px;"></div>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAxkqrVUwcSHsEXM301sgGGc6XH_ju6l9o&amp;libraries=visualization"></script>

<script>
var heatmapData = [
  {location: new google.maps.LatLng(47.409703, 8.154694), weight: 14.2}, // Aargau
  {location: new google.maps.LatLng(47.317264, 9.416754), weight: 18.6}, // Appenzell-Innerrhoden
  {location: new google.maps.LatLng(47.366352, 9.36791), weight: 29}, // Appenzell-Ausserrhoden
  {location: new google.maps.LatLng(46.823608, 7.636667), weight: 20.8}, // Bern
  {location: new google.maps.LatLng(47.45176,  7.702414), weight: 48.2}, // Basel-Landschaft
  {location: new google.maps.LatLng(47.564869, 7.615259), weight: 122.7}, // Basel-Stadt
  {location: new google.maps.LatLng(46.718391, 7.074008), weight: 25.7}, // Fribourg
  {location: new google.maps.LatLng(46.220528, 6.132935), weight: 61.9}, // Geneva
  {location: new google.maps.LatLng(46.981042, 9.065751), weight: 39.6}, // Glarus
  {location: new google.maps.LatLng(46.656248, 9.628198), weight: 62}, // Graubünden
  {location: new google.maps.LatLng(47.350744, 7.156107), weight: 34.2}, // Jura
  {location: new google.maps.LatLng(47.067763, 8.1102), weight: 15.4}, // Luzern
  {location: new google.maps.LatLng(46.995534, 6.780126), weight: 49.2}, // Neuchatel
  {location: new google.maps.LatLng(46.926755, 8.405302), weight: 46.3}, // Nidwalden
  {location: new google.maps.LatLng(46.854527, 8.244317), weight: 44.9}, // Obwalden
  {location: new google.maps.LatLng(47.2332, 9.274744), weight: 17.3}, // St-Gallen
  {location: new google.maps.LatLng(47.71357, 8.59167), weight: 9.8}, // Schaffhausen
  {location: new google.maps.LatLng(47.304135, 7.639388), weight: 14.3}, // Solothurn
  {location: new google.maps.LatLng(47.061787, 8.756585), weight: 22}, // Schwyz
  {location: new google.maps.LatLng(47.568715, 9.091957), weight: 10.1}, // Thurgau
  {location: new google.maps.LatLng(46.295617, 8.808924), weight: 178.6}, // Ticino
  {location: new google.maps.LatLng(46.771849, 8.628586), weight: 2.7}, // Uri
  {location: new google.maps.LatLng(46.570091, 6.657809), weight: 115}, // Vaud
  {location: new google.maps.LatLng(46.209567, 7.604659), weight: 51.2}, // Valais
  {location: new google.maps.LatLng(47.157296, 8.537294), weight: 18.1}, // Zug
  {location: new google.maps.LatLng(47.41275, 8.65508), weight: 30.1}, // Zurich
];
var heatmapCenter = new google.maps.LatLng(46.798476, 8.231787);

map = new google.maps.Map(document.getElementById('map'), {
  center: heatmapCenter,
  zoom: 7,
  mapTypeId: 'roadmap'
});

var heatmap = new google.maps.visualization.HeatmapLayer({
  data: heatmapData
});
heatmap.setMap(map);
heatmap.set('radius', 42);
heatmap.set('maxIntensity', 90);
heatmap.set('opacity', 0.8);
var gradient = [
  'rgba(0,255,255,0)',
  'rgba(255,255,246,1)',
  'rgba(253,255,127,1)',
  'rgba(252,217,49,1)',
  'rgba(253,147,29,1)',
  'rgba(232,93,31,1)',
  'rgba(204,54,54,1)',
  'rgba(180,58,58,1)'
]
heatmap.set('gradient', gradient);
</script>



<p class="has-text-align-center wp-block-paragraph">COVID-19 cases per 100k inhabitants, in Switzerland, as of 2020-03-19.</p>



<p class="wp-block-paragraph"><strong>Updated 19.03.2020</strong> using <a href="https://www.bag.admin.ch/dam/bag/de/dokumente/mt/k-und-i/aktuelle-ausbrueche-pandemien/2019-nCoV/covid-19-lagebericht.pdf.download.pdf/COVID-19_Epidemiologische_Lage_Schweiz.pdf">https://www.bag.admin.ch/dam/bag/de/dokumente/mt/k-und-i/aktuelle-ausbrueche-pandemien/2019-nCoV/covid-19-lagebericht.pdf.download.pdf/COVID-19_Epidemiologische_Lage_Schweiz.pdf</a> &#8211; now based on incidence of cases per 100k inhabitants.</p>



<p class="wp-block-paragraph"><strong>Day to day developments:</strong></p>



<p class="wp-block-paragraph"><strong>2020-03-14:</strong></p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="683" height="501" src="https://www.musings.ch/wp-content/uploads/2020/03/2020-03-14.png" alt="" class="wp-image-229" srcset="https://www.musings.ch/wp-content/uploads/2020/03/2020-03-14.png 683w, https://www.musings.ch/wp-content/uploads/2020/03/2020-03-14-300x220.png 300w" sizes="(max-width: 683px) 100vw, 683px" /><figcaption>COVID-19 heatmap Switzerland 2020-03-14</figcaption></figure></div>



<p class="wp-block-paragraph"><strong>Updated 14.03.2020</strong> using https://www.bag.admin.ch/dam/bag/de/dokumente/mt/k-und-i/aktuelle-ausbrueche-pandemien/2019-nCoV/covid-19-lagebericht.pdf.download.pdf/COVID-19_Epidemiologische_Lage_Schweiz.pdf</p>



<p class="wp-block-paragraph"><strong>2020-03-13:</strong></p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" width="683" height="503" src="https://www.musings.ch/wp-content/uploads/2020/03/2020-03-13-1.png" alt="" class="wp-image-230" srcset="https://www.musings.ch/wp-content/uploads/2020/03/2020-03-13-1.png 683w, https://www.musings.ch/wp-content/uploads/2020/03/2020-03-13-1-300x221.png 300w" sizes="(max-width: 683px) 100vw, 683px" /><figcaption>COVID-19 heatmap Switzerland 2020-03-13</figcaption></figure></div>



<p class="wp-block-paragraph">Data source: <a href="https://www.bag.admin.ch/bag/de/home/krankheiten/ausbrueche-epidemien-pandemien/aktuelle-ausbrueche-epidemien/novel-cov/situation-schweiz-und-international.html#-1934206868">https://www.bag.admin.ch/bag/de/home/krankheiten/ausbrueche-epidemien-pandemien/aktuelle-ausbrueche-epidemien/novel-cov/situation-schweiz-und-international.html#-1934206868</a></p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.musings.ch/2020/03/13/covid-19-heatmap-schweiz/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
