mx_snapshot: Access a static snapshot of the medRxiv repository

View source: R/mx_snapshot.R

mx_snapshotR Documentation

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")

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


mx_data <- mx_snapshot()



mcguinlu/medrxivr documentation built on Sept. 11, 2022, 9:25 p.m.