Writing a Twitter Bot in R

Since a while I am contemplating the possibility of automatically publishing on social media some stats and data visualisations from work. When I discovered the nice bot @everytract by @fitnr (and a little later the @GVAcartografic’s #Secciócensal tweets) I decided to try and do a Twitter bot myself in order to see what is possible and how difficult it is. I thought that combining maps and some Italian data would be a good recipe for having fun and so I did set out to use some GIS data from the Italian National Institute of Statistics (ISTAT)( @istat_en) in order to publish a map for every Italian comune (the basic administrative division in Italy).

Data science and R

Data science using the R programming language and all of its fantastic ecosystem.


An R data package for geographical position calculations using an ellipsoidal model of Earth