rOpenHealth / rpubmed

Tools for extracting and processing Pubmed and Pubmed Central records.
42 stars 23 forks source link

entrez_search gone? #17

Closed chartgerink closed 10 years ago

chartgerink commented 10 years ago

I was trying to run one of my R codes that uses entrez_search(), and I get the error that this function is not found. Did you drop this function?

I got this error after installing rpubmed on a different computer and trying to run my file. I fixed it by installing from an earlier commit, but wonder why you drop this function.

sckott commented 10 years ago

Curious if you are looking for the rentrez package instead? An example of its use: https://github.com/ropensci/rentrez#retreiving-datasets-associated-a-particular-organism

DASpringate commented 10 years ago

I've added rentrez back in for import. https://github.com/rOpenHealth/rpubmed/commit/723b4c5c913abfb3a7ca76396c8779e9e01e6e8d

I know the package only uses the entrez_email fn now but practically you will almost always be using rentrez_search to get your pubmed ids first so it makes sense to me to include it back in. Also, more functions in future wuill sit on top of rentrez

@chartgerink the most recent commit should work for you now.