#' Generating demo tweet_db.
tweet_db <- addNewTweetToDB("I like cats" , category="animals")
tweet_db <- addNewTweetToDB("I like dogs too.", category="animals", tweet_db = tweet_db)
tweet_db <- addNewTweetToDB("I don't like sardines.", category="food", tweet_db = tweet_db)
save(tweet_db, file =file.path("inst","exdata", "tweet_db.rda"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.