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 httr::GET()

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

pangaear documentation built on May 29, 2017, 5:13 p.m.