Description Usage Arguments Details Value Examples
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).
1 2 3 |
... |
Arguments passed to |
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.
run_janeausten_app()
launches a Shiny app. create_janeausten_app()
returns
a corporaexplorerobject.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## 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()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.