List the set structure of the Pangaea repository

Share:

Description

List the set structure of the Pangaea repository

Usage

1
pg_list_sets(token = NULL, as = "df", ...)

Arguments

token

(character) a token previously provided by the server to resume a request where it last left off. 50 is max number of records returned. We will loop for you internally to get all the records you asked for.

as

(character) What to return. One of "df" (for data.frame; default), "list", or "raw" (raw text)

...

Curl debugging options passed on to GET

Value

XML character string, data.frame, or list, depending on what requested witht the as parameter

Examples

1
2
3
4
5
6
7
8
## Not run: 
pg_list_sets()
pg_list_sets(as = "list")
pg_list_sets(as = "raw")
library('httr')
res <- pg_list_sets(config = verbose())

## End(Not run)