Shane Hastings

Dublin, IE

@COVID19DataIE Automated Tweets


I've put together a simple Twitter account which automatically posts the latest COVID-19 Swab Data, pulled directly from the Open Data Portal for COVID-19 in Ireland. This builds on the dashboard I created to visualise some of this data, which you can read more about in my previous post.


The script polls a cleansed endpoint with the swab data (link) for updates, but does checks first to make sure that it isn't doing this unnecessarily. 


For example, this data is only updated once per day between 3 PM and 4 PM Monday-Saturday. In case of late data entry on the side of laboratories, this will check between 3 PM and 4:30 PM on these days. You can have a look through the code on GitHub if you're interested in further details.


I figure that having a Twitter account for this would be a much simpler and wider-supported method of having push notifications for these updates - for anyone interested. Either way, it was a nice way to play around with the Twitter API and TwitterOAuth


View project on GitHub


Posted on Tuesday, December 22nd 2020 by @ShaneHastingsIE