Comments (1)
Hello - when I use get_complete_authors it returns NA for the author column (even when I try and just do one article). In running the function on its own, I am wondering if the issue is in get_author (nested within get_complete_author)? I am getting a 404 error with the current URL formatting, it looks like google may have changed their formatting?
Here is the code I am using: id = "g5LA4-oAAAAJ&hl=en" pubs <- scholar::get_publications(id=id, pagesize=n)
df <-pubs %>% rowwise() %>% dplyr::mutate( author = case_when( str_ends(author, "...") ~ scholar::get_complete_authors(id = id, pubid = pubid, delay= 1), TRUE ~ author ))
Hey first of all, thanks for your codes! You should use double back slashes (\\
) to escape .
in R string format. After changing this, your code works for me.
However, I do get "Google is rate limiting you for making too many requests too quickly." still when I try to get_complete_authors
for a large data frame.
df <- pubs %>%
rowwise() %>%
dplyr::mutate(
author = case_when(
str_ends(author, "\\.\\.\\.") ~ scholar::get_complete_authors(id = id, pubid = pubid, delay= 3),
TRUE ~ author))
Hope this helps.
from scholar.
Related Issues (20)
- Years with zero citations cause get_article_cite_history() to fail HOT 3
- get_publications() returns NA for all pubids HOT 2
- author_position() typos in calculation for `Position_Normalized`
- get_publications() `pubid` outputs all `<NA>` HOT 1
- Getting full article citation information (not only the summary)
- get_publication 404 errors HOT 1
- Get scholar does not work for ids with punctuation
- Add new function to create .bib bibliography file for later processing HOT 6
- fix to get_scholar_id HOT 1
- Fix for duplicate profiles HOT 1
- Unclear documentation for swap_initials() within the format_publications function. HOT 1
- Error in predict_h_index() HOT 1
- Error in predict_h_index() HOT 3
- predict.r
- get_coauthors limited to 20 coauthors HOT 1
- add function get_pubs_all_authors - submission HOT 1
- Retrieving field-of-interest/expertise labels HOT 3
- get_publications(id) is not returning pubid HOT 3
- get_article_cite_history(id, pubid) sometimes is not returning HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scholar.