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

Error in sort.list(y) #7

Open
martik617 opened this issue Jan 27, 2016 · 0 comments
Open

Error in sort.list(y) #7

martik617 opened this issue Jan 27, 2016 · 0 comments

Comments

@martik617
Copy link

I got this error after calling your function:

df <- GScholar_Scraper(input, since = 1980)

The URL used is:

Number of hits: 41200

If this number is far from the returned results
something might have gone wrong..

Hide Traceback

Rerun with Debug
*Error in sort.list(y) :
invalid input 'Y Xia, ON Bjørnstad, BT Grenfell - The American Naturalist, 2004 - JSTOR' in 'utf8towcs' *

9 sort.list(y)
8 factor(x)
7 as.data.frame.character(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFactors)
6 as.data.frame(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFactors)
5 data.frame(TITLES = tit, PUBLICATION = pub, YEAR = as.integer(gsub(".\s(\d{4})\s.",
"\1", pub)), LINKS = lin)
4 FUN(X[[i]], ...)
3 lapply(URLs, scraper_internal)
2 do.call("rbind", lapply(URLs, scraper_internal))
1 GScholar_Scraper(input, since = 1980)

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