rxivistr

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Rxivist indexes articles from bioRxiv, a free preprint server by Cold Spring Harbor Laboratory. This package is a client for the Rxivist API and can be used to access metadata from:

Installation

To install rxivistr package, run:

devtools::install_github("ikodvanj/rxivistr")

Using rxivistr

Load the package using library() function.

library(rxivistr)

Package contains following functions:

In the following text, examples are provided for each function.

rxivist_search

Following function retrieves articles top 5 most downloaded articles related to COVID-19:

res <- rxivist_search(search_phrase = "COVID-19", from = "alltime", sortby = "downloads", limit = 5)
dplyr::glimpse(res)

article_details

At the time of writing this vignette, the most downloaded article had an id 72514. With the following function we will retrieve information about this article:

res <- article_details(72514)
dplyr::glimpse(res)

article_downloads

To investigate the number of downloads, article_downloads function can be used:

article_downloads(72514)

authors_rank

To retrieve top 200 authors based on the number of article downloads, authors_rank can be used:

res <- authors_rank()
dplyr::glimpse(res)

author

With function author, we can retrieve more information about specific author.

author(295517)

category_list

This function returns a list of all categories to which articles are classified:

category_list()

rxivist_stats

Returns information about the number of articles indexed by the Rxivist.

res <- rxivist_stats()
dplyr::glimpse(res)


Try the rxivistr package in your browser

Any scripts or data that you put into this service are public.

rxivistr documentation built on Oct. 23, 2020, 5:19 p.m.