Last active
December 11, 2020 09:56
-
-
Save mcguinlu/510d7d649f96c792e80b0155b17fdb70 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query <- list("[Mm]endelian","[Rr]andomi[sz]ation","[Bb]ias") | |
# medrxiv ---- | |
# Get local copy of the databases | |
mx_data <- medrxivr::mx_snapshot() # medrxiv | |
# Limit to unpublished studies | |
mx_data_unpublished <- dplyr::filter(mx_data, is.na(published)) | |
# Run search | |
mx_results <- medrxivr::mx_search(mx_data_unpublished, query) | |
medrxivr::mx_export(mx_results,file="medrxiv_unpublished.bib") | |
# biorxiv ---- | |
bx_data <- medrxivr::mx_api_content(server = "biorxiv") | |
# Limit to unpublished studies | |
bx_data_unpublished <- dplyr::filter(bx_data, is.na(published)) | |
# Run search | |
bx_results <- medrxivr::bx_search(bx_data_unpublished, query) | |
medrxivr::mx_export(bx_results,file="biorxiv_unpublished.bib") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment