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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Pharo Smalltalk Users mailing list
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: '<a href="github://ObjectProfile/Roassal3" class="">github://ObjectProfile/Roassal3';
    load.
Metacello new
  baseline: 'DataFrame';
  repository: '<a href="github://PolyMathOrg/DataFrame:v2.0/src" class="">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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



Reply | Threaded
Open this post in threaded view
|

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

hernanmd
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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



Reply | Threaded
Open this post in threaded view
|

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

Pharo Smalltalk Users mailing list
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 <[hidden email]> 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 (<[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:
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 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
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>


Reply | Threaded
Open this post in threaded view
|

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

philippeback
In reply to this post by Pharo Smalltalk Users mailing list
Thx!

Some controls in the playground inspector are not reacting, like I and O. Before there were some small controls in it.
I can use the scrollwheel but sill wondered.

Phil

On Mon, Mar 16, 2020 at 4:03 PM Alexandre Bergel via Pharo-users <[hidden email]> wrote:
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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



Reply | Threaded
Open this post in threaded view
|

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

philippeback
In reply to this post by Pharo Smalltalk Users mailing list
Hello,

The script is failing today due to:

image.png
Phil

On Mon, Mar 16, 2020 at 7:45 PM Alexandre Bergel via Pharo-users <[hidden email]> wrote:
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 <[hidden email]> 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 (<[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:
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 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
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>