5.3 animate build 🚣

20220815

CONTRIBUTION WELCOME

The build command is a suitable task for a new developer to implement. If you would like the learning opportunity and to contribute to the open source machine learning ecosystem, here’s your chance. Simply fork the current repository, implement build.R, modelled on the code in demo.R, and create a pull request back to the original repository. We will review it and provide feedback. Give it a go.

The build command will take a CSV file (e.g., mydata.csv), either locally or via a URL, and generate an animation based on the data in the file. The file needs to have three columns, one named id (such as an athlete’s name), one named event (such as different sporting events), and one named rank. A plot similar to the animation generated for the IAAF data will be produced, saving it by default as mydata.gif. In the first instance, each id should have a rank for each event.

Options might include:

  • -O or --output= to name the output file into which the image is to be saved. The filename extension of the specified file will be used to determine the format type;

  • -t or --type= to specifiy the image format output as gif (default) or png.

  • -i or --id= to name the column to be used as the id.

  • -e or --event= to name the column to be used as the event.

  • -r or --rank= to name the column to be used as the rank.

Give it a try on your own data.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0