powered by
Search preprint data
mx_search( data = NULL, query = NULL, fields = c("title", "abstract", "authors", "category", "doi"), from_date = NULL, to_date = NULL, NOT = "", deduplicate = TRUE )
The preprint dataset that is to be searched, created either using mx_api_content() or mx_snapshot()
Character string, vector or list
Fields of the database to search - default is Title, Abstract, Authors, Category, and DOI.
Defines earliest date of interest. Written in the format "YYYY-MM-DD". Note, records published on the date specified will also be returned.
Defines latest date of interest. Written in the format "YYYY-MM-DD". Note, records published on the date specified will also be returned.
Vector of regular expressions to exclude from the search. Default is NULL.
Logical. Only return the most recent version of a record. Default is TRUE.
# NOT RUN { # Using the daily snapshot mx_results <- mx_search(data = mx_snapshot(), query = "dementia") # }
Run the code above in your browser using DataLab