pg_list_sets: List the set structure of the Pangaea repository

Description Usage Arguments Value References See Also Examples

View source: R/pg_list_sets.R

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 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

1
2
3
4
5
6
## Not run: 
pg_list_sets()
pg_list_sets(as = "list")
pg_list_sets(as = "raw")

## End(Not run)

pangaear documentation built on May 14, 2021, 9:05 a.m.