demo_jane_austen {corporaexplorer} | R Documentation |
Demo app: Jane Austen's novels
Description
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).
Usage
run_janeausten_app(...)
create_janeausten_app()
Arguments
... |
Arguments passed to |
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.
Value
run_janeausten_app()
launches a Shiny app. create_janeausten_app()
returns
a corporaexplorerobject.
Examples
## Create corporaexplorerobject for demo app:
jane_austen <- create_janeausten_app()
if(interactive()){
## Run the corporaexplorerobject:
explore(jane_austen)
## Or create and run the demo app in one step:
run_janeausten_app()
}
[Package corporaexplorer version 0.8.6 Index]