This R package is an implementation of a slack bot using the translink live API for train timetables in Northern Ireland. This service utilises the plumber
package in R and is running as a service on digital ocean. It is a work in progress, but for now, follow the installation instructions below to get up and running.
Work in progress
Install the bot trains
to a channel and use the following commands
- /ttrains ... to ...
- /tset x ... to ...
- /tget x
- /tdelete ...
- /tinfo x
- /tinfo all
where x
is a string e.g. home/work/shops. This string cannot take any of the following commands above.
Insert gif of example here.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.