README.md

shinycopy

Trial version for a text reuse Shiny app

This only works with specific data for a project, so it's not yet intended for use outside of those involved (though at some point a more general version will probably be shared)

How to use

This requires the development version of corpustools and the amcatr package (which is not on CRAN)

devtools::install_github('kasperwelbers/corpustools')
devtools::install_github('amcat/amcat-r')
devtools::install_github('kasperwelbers/shinyBZpers')

The following code reads the data from amcat and launches an instance at the given port. Note that it also deduplicates the data (turn of by setting deduplicate to NA)

library(shinyBZpers)
library(amcatr)
conn = amcat.connect('https://amcat.nl')
bz_data = create_bz_data(conn, project=1916, pers_set=79431, nieuws_set=79457, 
                         min_similarity=0.2, ngrams=3, deduplicate=0.9)
bz_app(bz_data, port = 6171)


kasperwelbers/shinyBZpers documentation built on July 1, 2021, 3:09 p.m.