Export references for preprints returning by a search to a .bib file
Source:R/mx_export.R
mx_export.Rd
Export references for preprints returning by a search to a .bib file
Arguments
- data
Dataframe returned by mx_search() or mx_api_*() functions
- file
File location to save to. Must have the .bib file extension
See also
Other helper:
mx_caps()
,
mx_crosscheck()
,
mx_download()
Examples
# \donttest{
mx_results <- mx_search(mx_snapshot(), query = "brain")
#> Using medRxiv snapshot - 2022-07-06 01:09
#> Found 1627 record(s) matching your search.
mx_export(mx_results, tempfile(fileext = ".bib"))
#> References exported to /tmp/RtmpClFjEe/file4fd67720ea3.bib
# }