rt_all | R Documentation |
Takes a TXT file and examines whether any statements of Conflicts of Interest (COI), Funding or Protocol Registration exist. If any such statements are found, it also extracts the relevant text.
rt_all(filename)
filename |
The name of the TXT as a string. |
A dataframe of results. A dataframe of results. It returns the PMID of the article (if this was included in the filename and preced by "PMID"), whether each of 3 indicators of transparency (COI, Funding or Registration) was identified, the relevant text identified and whether each labelling function identified relevant text or not. The labeling functions are eturned to add flexibility in how this package is used; for example, future definitions of Registration may differ from the one we used. If a labelling function returns NA it means that it was not run.
## Not run:
# Path to TXT.
filepath <- "../inst/extdata/00003-PMID26637448-PMC4737611.txt"
# Identify and extract indicators of transparency.
results_table <- rt_all(filepath)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.