-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_article_cite_history is not working properly #81
Comments
Can you check that id? There is an “&hl” at the end that looks odd.
…Sent from my iPhone
On 27 Aug 2019, at 13:32, AustinDavidRichards ***@***.***> wrote:
Could there be a bug from a recent R update? Consider the following, which returns an empty dataframe with the correct column headers:
library(tidyverse)
library(scholar)
id <- '0853ilkAAAAJ&hl'
all_pubs <- get_publications(id)
all_pubs$title
all_pubs %>%
filter(title == "Data-driven asthma endotypes defined from blood biomarker and gene expression data") %>%
select (pubid) #returns M05iB0D1s5AC
article <- 'M05iB0D1s5AC'
humpf <- get_article_cite_history(id, article)
Or more simply:
df<- get_article_cite_history("0853ilkAAAAJ&hl", "M05iB0D1s5AC")
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
So I believe the ID is correct as 'get publications' works with it as expected, thanks! |
I may have misspoke, removing the '&hl' still works for 'get_publications', but now loads several entreis for 'get_article_cite_history', (though oddly only 5 rather than the ~25 or so expected) thanks!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could there be a bug from a recent R update? Consider the following, which returns an empty dataframe with the correct column headers:
Or more simply:
The text was updated successfully, but these errors were encountered: