The script I provide could be easily wrapped up into some classes. Maybe I will use it for a new tutorial. Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On 16-03-2020, at 12:38, Hernán Morales Durand <hernan.morales@gmail.com> wrote:
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 (<pharo-users@lists.pharo.org>) 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:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= https://gist.github.com/bergel/6ebcde9696ef922f2b519c56a4520bac -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
You should then see the following: <PastedGraphic-6.png>
Change the names of the countries to see what you are interested in.
Stay safe Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.