Connects to the site < http://quotesondesign.com/> that uses the 'WordPress' JSON REST API to provide a way for you to grab quotes.
This package connects to the site http://quotesondesign.com/ that uses the WordPress JSON REST API to provide a way for you to grab quotes.
This package contains the following function:
randquote() that fetches a random quote and returns a dataframe along with the author name and link to the quote.
This package fetches data from API hence an active internet connection is required for this package to function.
library(randquotes)# current verisonpackageVersion("randquotes")
##  '0.1.0'
## ID title content ## 1 835 Cool Hand Luke <p>What we got here is… failure to communicate. </p>\n ## link Source ## 1 https://quotesondesign.com/cool-hand-luke/ <a href="http://www.imdb.com/title/tt0061512/taglines">movie</a>
Sometimes you may not be interested in getting a dataframe that has ID and link, so this function
randquote_simple() outputs only the quote with author name.
##  "To attempt mastery of everything inevitably makes us mediocre in many areas. \n-Simon Collison"
This R package is powered by Quotes on Design API
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.