Skip to contents

Package

rtransparency rtransparency-package
rtransparency: Identify indicators of transparency in the biomedical literature

Run all detectors

Detect every indicator in one pass, for one file or a whole corpus.

rt_all()
Identify and extract transparency statements from a TXT file.
rt_all_pmc()
Identify and extract all transparency indicators from a PMC XML.
rt_all_pmc_dir()
Identify transparency indicators across many PMC XML files.

Individual indicators (PMC XML)

One detector per indicator, for PMC JATS XML files.

rt_coi_pmc()
Identify and extract Conflicts of Interest (COI) statements in PMC XML files.
rt_fund_pmc()
Identify and extract Funding statements in PMC XML files.
rt_register_pmc()
Identify and extract Conflicts of Interest statements in PMC XML files.
rt_novelty_pmc()
Identify and extract novelty claims in PMC XML files.
rt_replication_pmc()
Identify and extract replication components in PMC XML files.
rt_data_code_pmc()
Identify and extract Data and Code sharing from PMC XML files.
rt_data_code_pmc_list()
Identify and extract Data and Code sharing from a list of PMC XML files.
rt_ai_pmc()
Identify disclosure of generative-AI use from a PMC XML file.
rt_oa_pmc()
Identify the open-access status and reuse license of a PMC XML file.
rt_reporting_pmc()
Identify use of a reporting guideline from a PMC XML file.

Individual indicators (text)

One detector per indicator, for plain-text (PDF-derived) files.

rt_coi()
Identify and extract Conflicts of Interest (COI) statements in TXT files.
rt_fund()
Identify and extract Funding statements in TXT files.
rt_register()
Identify and extract Registration statements in TXT files.
rt_novelty()
Identify whether a study claims novelty in TXT files.
rt_replication()
Identify whether a study includes a replication component in TXT files.
rt_data_code()
Identify and extract Data and Code statements in TXT files.
rt_ai()
Identify disclosure of generative-AI use from a TXT file.
rt_oa()
Identify the open-access status and reuse license from a TXT file.
rt_reporting()
Identify use of a reporting guideline from a TXT file.

Metadata and input

Article metadata and PDF-to-text conversion.

rt_meta_pmc()
Extract article metadata from a PMC XML file.
rt_read_pdf()
Convert a PDF file to text.

Summarize and visualize

Corpus-level prevalence, per-article scores and plots.

rt_summary()
Summarize transparency indicators across a corpus of articles
rt_score()
Count the transparency indicators met by each article
rt_plot()
Plot transparency indicators

Datasets

rt_accuracy
Detector accuracy estimates
rt_demo
Simulated transparency indicators for a corpus of articles