Skip to contents

List the set structure of the Pangaea repository

Usage

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 oai::list_sets()

Value

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

Examples

if (FALSE) { # \dontrun{
pg_list_sets()
pg_list_sets(as = "list")
pg_list_sets(as = "raw")
} # }