Login  Register

Re: [Roassal3 Script of the day] Visualizing Coronavirus official public data

Posted by hernanmd on Mar 16, 2020; 3:38pm
URL: https://forum.world.st/Roassal3-Script-of-the-day-Visualizing-Coronavirus-official-public-data-tp5113417p5113419.html

Thank you Alexandre, I've been asking myself how to do it in Roassal3 in a better way as you did!!
Cheers,

Hernán

El lun., 16 mar. 2020 a las 12:31, Alexandre Bergel via Pharo-users (<[hidden email]>) escribió:
Hola,

Here is a script, for which I hope some of you will find useful. 
The script of today visualize the number of infected and allows for an easily (and very basic) comparison. First, you need Roassal3 and DataFrame. Here is the code:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Metacello new
    baseline: 'Roassal3';
    repository: 'github://ObjectProfile/Roassal3';
    load.
Metacello new
  baseline: 'DataFrame';
  repository: 'github://PolyMathOrg/DataFrame:v2.0/src';
  load.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Then, evaluate the Pharo code available on:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


You should then see the following:

Change the names of the countries to see what you are interested in.

Stay safe
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.