semi.auto.value | R Documentation |
Interactively retrieve quantitative data from a paper
semi.auto.value(in_dir, keywords, highlight, cleaned_text, sorted_words)
in_dir |
directory with input text files |
keywords |
A set of keywords as characters (i.e. traits of interest) in a vector |
highlight |
A set of keywords as characters (i.e. words related to trait of interest) in a vector |
cleaned_text |
output of 'clean.text' - a list of cleaned text files |
sorted_words |
output of 'generate.term.dataset' - a list of frequency of searched words mentioned in each paper |
A data frame containing matches above threshold and verified matches
download.file("https://github.com/ajhelmstetter/papieRmache/raw/master/inst/extdata/test_pdfs.zip", destfile = "./test_pdfs.zip")
unzip("./test_pdfs.zip")
ct<-clean.text(in_dir = "./test_pdfs/",all_keywords=kw)
keywords<-c('species')
td<-generate.term.dataset(cleaned_text = ct, in_dir = "./testpdfs/",keywords = keywords)
semi.auto.value(in_dir = "./test_pdfs/", keywords = keywords, highlight = c('increase','decrease'), cleaned_text = ct, sorted_words = td)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.