mx_snapshot: Access a static snapshot of the medRxiv repository

Description Usage Arguments Value See Also Examples

View source: R/mx_snapshot.R

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

1
mx_snapshot(commit = "master")

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.

Value

Formatted dataframe

See Also

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

Examples

1
mx_data <- mx_snapshot()

medrxivr documentation built on Feb. 25, 2021, 1:08 a.m.