Skip to content
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

Closed
AustinDavidRichards opened this issue Aug 27, 2019 · 3 comments
Closed

get_article_cite_history is not working properly #81

AustinDavidRichards opened this issue Aug 27, 2019 · 3 comments

Comments

@AustinDavidRichards
Copy link

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")
@jefferis
Copy link
Collaborator

jefferis commented Aug 27, 2019 via email

@AustinDavidRichards
Copy link
Author

So I believe the ID is correct as 'get publications' works with it as expected, thanks!

@AustinDavidRichards
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants