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_publications() pubid outputs all <NA> #106

Closed
dirtyplants opened this issue Dec 26, 2021 · 1 comment
Closed

get_publications() pubid outputs all <NA> #106

dirtyplants opened this issue Dec 26, 2021 · 1 comment

Comments

@dirtyplants
Copy link

dirtyplants commented Dec 26, 2021

First, thanks for maintaining this package!

I am having some trouble getting any pubid to show up in output of get_publications(). For example:

> scholar::get_publications("9zQR3rsAAAAJ")$pubid

[1] <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA> 
[...]
[201] <NA> <NA> <NA> <NA> <NA> <NA> <NA>
Levels: 

If you or someone else can reproduce the error, perhaps something is wrong here or just below (else, I may have a unique or self-made problem):

pubid <- cites %>% html_nodes(".gsc_a_at") %>%

It causes some downstream code to fail, because it is impossible to access values for pid in get_complete_authors(), for example.

@dirtyplants
Copy link
Author

dirtyplants commented Dec 26, 2021

I inadvertently duplicated this (and closed the present issue): #103 (comment) FYI: This is concerning scholar v0.2.2.

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

1 participant