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() returns NA for all pubids #103

Open
fitzLab-AL opened this issue Sep 22, 2021 · 2 comments
Open

get_publications() returns NA for all pubids #103

fitzLab-AL opened this issue Sep 22, 2021 · 2 comments

Comments

@fitzLab-AL
Copy link

fitzLab-AL commented Sep 22, 2021

When using get_publications(), all retrieved publications have NAs for the pubid column:

# example from help doc
id <- 'B7vSqZsAAAAJ'
p <- get_publications(id)
p$pubid
[1] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
[28] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
[55] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
[82] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
[109] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
[136] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA

@mkiang
Copy link

mkiang commented Nov 25, 2021

Have you tried updating the package? This error is not reproducible given the most recent version of the package:

> id <- 'B7vSqZsAAAAJ'
> p <- get_publications(id)
> sum(is.na(p$pubid))
[1] 0
> head(p$pubid)
[1] "hMod-77fHWUC" "u-x6o8ySG0sC" "SP6oXDckpogC" "2P1L_qKh6hAC" "d1gkVwhDpl0C" "qjMakFHDy7sC"

@fitzLab-AL
Copy link
Author

I will give that a try and see if I still have the problem. Thanks for the reply.

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