Learn R Programming

medrxivr (version 0.1.1)

mx_snapshot: Access a static snapshot of the medRxiv repository

Description

[Available for medRxiv only] Rather than downloading a copy of the medRxiv database from the API, which can become unavailable at peak usage times, this allows users to import a maintained static snapshot of the medRxiv repository.

Usage

mx_snapshot(commit = "master")

Value

Formatted dataframe

Arguments

commit

Commit hash for the snapshot, taken from https://github.com/mcguinlu/medrxivr-data. Allows for reproducible searching by specifying the exact snapshot used to perform the searches. Defaults to "master", which will return the most recent snapshot.

See Also

Other data-source: mx_api_content(), mx_api_doi()

Examples

Run this code
# \donttest{
mx_data <- mx_snapshot()
# }

Run the code above in your browser using DataLab