knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

Run wikit with outsider in R

Build Status

Search and look up summaries of Wikipedia articles.

This outsider module was developed to demonstrate how any kind of program can be wrapped into a module.

Easy to install

library(outsider)
module_install(repo = "dombennett/om..wikit")
#module_help(repo = "dombennett/om..wikit")

Look up Wikipedia summaries from within R

library(outsider)
wikit <- module_import(fname = 'wikit', repo = 'dombennett/om..wikit')
# see all examples
dinosaur_summary <- wikit('dinosaur', ncols = 80)
cat(dinosaur_summary)
module_uninstall(repo='dombennett/om..wikit')

Key arguments

Note: the wikit function only has three arguments (topic, lang and ncol). Other flags described in the command-line wikit program are not avaialble.

Links

Learn more by visiting Wikit's homepage

If citing ....


An outsider module

Learn more at outsider website. Want to build your own module? Check out outsider.devtools website.



DomBennett/om..wikit documentation built on Jan. 17, 2020, 12:25 a.m.