| match_and_write_chunks_from_wiki | R Documentation | 
Match search terms to Wikipedia
match_and_write_chunks_from_wiki(
  x,
  file = "saved/wiki_match.Rda",
  chunk.size = 10,
  save.every = 10,
  key.words = c("city"),
  blacklist = c("is a list of", "may also refer to", "commonly refers to"),
  valid.qids = NULL,
  language = "en"
)
x | 
 a character vector  | 
file | 
 a filepath  | 
chunk.size | 
 the number of search terms in each chunk - it cannot be above 50  | 
save.every | 
 the number of chunks between each save to file  | 
key.words | 
 a character vector with the keywords that should be present in a wiki article or in the wiki categories  | 
blacklist | 
 a character vector with blacklisted terms or phrases.  | 
a tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.