Skip to content

Error in sort.list(y)  #7

@martik617

Description

@martik617

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions