Access and Search MedRxiv and BioRxiv Preprint Data

An increasingly important source of health-related bibliographic content are preprints - preliminary versions of research articles that have yet to undergo peer review. The two preprint repositories most relevant to health-related sciences are medRxiv <> and bioRxiv <>, both of which are operated by the Cold Spring Harbor Laboratory. 'medrxivr' provides programmatic access to the 'Cold Spring Harbour Laboratory (CSHL)' API <>, allowing users to easily download medRxiv and bioRxiv preprint metadata (e.g. title, abstract, publication date, author list, etc) into R. 'medrxivr' also provides functions to search the downloaded preprint records using regular expressions and Boolean logic, as well as helper functions that allow users to export their search results to a .BIB file for easy import to a reference manager and to download the full-text PDFs of preprints matching their search criteria.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.0.5 by Luke McGuinness, 9 months ago

Report a bug at

Browse source code at

Authors: Luke McGuinness [aut, cre] , Lena Schmidt [aut] , Tuija Sonkkila [rev] , Najko Jahn [rev]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports methods, dplyr, curl, jsonlite, httr, stringr, rlang, vroom, bib2df, tibble, progress, lubridate, purrr, data.table

Suggests testthat, knitr, rmarkdown, covr, kableExtra, spelling

See at CRAN