run_janeausten_app() is a convenience function to directly run the demo app without first creating a corporaexplorerobject. Equals explore(create_janeausten_app()). Interrupt R to stop the application (usually by pressing Ctrl+C or Esc).

run_janeausten_app(...)

create_janeausten_app()

Arguments

...

Arguments passed to explore()

Value

run_janeausten_app() launches a Shiny app. create_janeausten_app() returns a corporaexplorerobject.

Details

The demo app's data are Jane Austen's six novels, retrieved through the "janeaustenr" package (https://github.com/juliasilge/janeaustenr) -- which must be installed for these functions to work -- and converted to a corporaexplorerobject as shown at https://kgjerde.github.io/corporaexplorer/articles/jane_austen.html.

Examples

## Create corporaexplorerobject for demo app: jane_austen <- create_janeausten_app()
#> Starting.
#> Document data frame done.
#> Corpus is not date based. Calendar data frame skipped.
#> Document term matrix: text processed.
#> Document term matrix: tokenising completed.
#> Document term matrix: word list created.
#> Document term matrix done.
#> Done.
if(interactive()){ ## Run the corporaexplorerobject: explore(jane_austen) ## Or create and run the demo app in one step: run_janeausten_app() }