[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.

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

# \donttest{ mx_data <- mx_snapshot()
#> Using medRxiv snapshot - 2020-11-22 00:24
# }