pg_list_sets {pangaear}R Documentation

List the set structure of the Pangaea repository

Description

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

References

OAI-PMH documentation

See Also

wraps oai::list_sets()

Other oai methods: pg_get_record(), pg_identify(), pg_list_identifiers(), pg_list_metadata_formats(), pg_list_records()

Examples

## Not run: 
pg_list_sets()
pg_list_sets(as = "list")
pg_list_sets(as = "raw")

## End(Not run)

[Package pangaear version 1.1.0 Index]