By default a GUI window is opened that allows you to choose the directory (using tcltk).
checkPDFdir(dir, subdir = TRUE, ...)
statcheck
.statcheck
for more details. Use checkPDF
to import individual PDF files. Currently only statistics in the form "stat (df1, df2) = value, p = value" are extracted. Because the Chi-square symbol can not be repressented in plain text it is often lost in the conversion. Because of this Chi-square values are extracted by finding all statistical references with one degree of freedom that do not follow the symbol "t" or "r". While this does extract most Chi-square values it is possible that other statistics, possibly due to unconventional notation, are also extracted and reported as chi-square values.
Depending on the PDF file the comparison operators can sometimes not be converted correctly, causing these to not be reported in the output. Using html versions of articles and the similar function checkHTMLdir
is recommended for more stable results.
Note that the conversion to plain text and extraction of statistics can result in errors. Some statistical values can be missed, especially if the notation is unconventional. It is recommended to manually check some of the results.
statcheck
, checkPDF
, checkHTMLdir
, checkHTML
, checkdir
# with this command a menu will pop up from which you can select the directory with PDF articles
# checkPDFdir()
# you could also specify the directory beforehand
# for instance:
# DIR <- "C:/mydocuments/articles"
# checkPDFdir(DIR)
Run the code above in your browser using DataLab