You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently received a question about search and realized that the user would have to learn about more advanced arguments like pages and options to do a simple search. A helper functions would make it easier and feel less advanced. But perhaps we should first start with a search vignette? What do you think @massimoaria@yjunechoe?
Suppose the user want to search for any publications with links between BRAF and melanoma. oa_fetch(search = "BRAF and melanoma", verbose = TRUE) would take too long (54710 records total). Often we just want the top, say, 100 results (ranked based on relevance or citation count).
So, we would have to do:
Always down to have for more vignettes, time and resource permitting :)
On a wrapper function, would you imagine something like a oa_search() that wraps oa_fetch() with options relevant to searching promoted as function arguments?
I recently received a question about search and realized that the user would have to learn about more advanced arguments like
pages
andoptions
to do a simple search. A helper functions would make it easier and feel less advanced. But perhaps we should first start with a search vignette? What do you think @massimoaria @yjunechoe?Suppose the user want to search for any publications with links between BRAF and melanoma.
oa_fetch(search = "BRAF and melanoma", verbose = TRUE)
would take too long (54710 records total). Often we just want the top, say, 100 results (ranked based on relevance or citation count).So, we would have to do:
The corresponding pubmed search is
The text was updated successfully, but these errors were encountered: