- Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathlist_sets.Rd
45 lines (39 loc) · 969 Bytes
/
list_sets.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
% Generatedbyroxygen2:donoteditbyhand
% PleaseeditdocumentationinR/list_sets.R
\name{list_sets}
\alias{list_sets}
\title{Listsets}
\usage{
list_sets(
url="http://api.gbif.org/v1/oai-pmh/registry",
token=NULL,
as="df",
...
)
}
\arguments{
\item{url}{(character) OAI-PMHbaseurl.DefaultstotheURLfor
arXiv's OAI-PMH server (http://export.arxiv.org/oai2)
or GBIF'sOAI-PMH server (http://api.gbif.org/v1/oai-pmh/registry)}
\item{token}{(character) atokenpreviouslyprovidedbytheserverto
resumearequestwhereitlastleftoff}
\item{as}{(character) Whattoreturn.Oneof"df" (fordata.frame; default),
"list", or"raw" (rawtext)}
\item{...}{Curloptionspassedonto \code{\link[httr]{GET}}}
}
\description{
Listsets
}
\examples{
\dontrun{
# Get back a data.frame
list_sets()
# Get back a list
list_sets(as="list")
# Get back raw text
list_sets(as="raw")
# curl options
library("httr")
list_sets(config= verbose())
}
}