An R-package: the final frontier. These are the voyages of the R-package startrek. Its continuing mission: to explore strange new worlds, to seek out new life and new civilizations, to boldly go where no one has gone before. Or to give you a random phrase from one of the main characters in the TNG series.
You have the following options:
library(startrek) Guinan() Worf() Wesley() Picard() Beverly() Data() Geordi() Troi() Pulaski() Q() Riker()
There are also other options
Computer() random_tng_character()
The package uses a state of the art data.frame that contains all the phrases scraped from the original episode scripts.
The code filters the dataframe on character and chooses a random phrase.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.