-
Notifications
You must be signed in to change notification settings - Fork 0
/
gcite_author_info.Rd
50 lines (42 loc) · 1.4 KB
/
gcite_author_info.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/gcite_author_info.R
\name{gcite_author_info}
\alias{gcite_author_info}
\title{Getting User Information from name}
\usage{
gcite_author_info(author, ask = TRUE, pagesize = 100, verbose = TRUE,
secure = TRUE, force = FALSE, read_citations = TRUE, sleeptime = 0,
...)
}
\arguments{
\item{author}{author name separated by spaces}
\item{ask}{If multiple authors are found, should a menu be given}
\item{pagesize}{Size of pages, max 100, passed to \code{\link{gcite_url}}}
\item{verbose}{Print diagnostic messages}
\item{secure}{use https vs. http}
\item{force}{If passing a URL and there is a failure, should the
program return \code{NULL}, passed to \code{\link{gcite_citation_page}}}
\item{read_citations}{Should all citation pages be read?}
\item{sleeptime}{time in seconds between http requests,
to avoid Google Scholar rate limit}
\item{...}{Additional arguments passed to \code{\link{GET}}}
}
\value{
A list of citations, citation indices, and a
\code{data.frame} of authors, journal, and citations, and a
\code{data.frame} of the links to all paper URLs.
}
\description{
Calls \code{\link{gcite_user_info}} after getting the user
identifier
}
\examples{
\dontrun{
if (!is_travis()) {
df = gcite_author_info(author = "John Muschelli", secure = FALSE)
}
}
if (!is_travis()) {
df = gcite_author_info(author = "Jiawei Bai", secure = FALSE)
}
}