View source: R/pg_get_record.R
pg_get_record | R Documentation |
Get record from the Pangaea repository
pg_get_record(identifier, prefix = "oai_dc", as = "df", ...)
identifier |
Dataset identifier. See Examples. |
prefix |
A character string to specify the metadata format in OAI-PMH
requests issued to the repository. The default ( |
as |
(character) What to return. One of "df" (for data.frame; default), "list", or "raw" (raw text) |
... |
Curl debugging options passed on to |
XML character string, data.frame, or list, depending on what
requested with the as
parameter
wraps oai::get_records()
Other oai methods:
pg_identify()
,
pg_list_identifiers()
,
pg_list_metadata_formats()
,
pg_list_records()
,
pg_list_sets()
## Not run: pg_get_record(identifier = "oai:pangaea.de:doi:10.1594/PANGAEA.788382") pg_get_record(identifier = "oai:pangaea.de:doi:10.1594/PANGAEA.269656", prefix="iso19139") pg_get_record(identifier = "oai:pangaea.de:doi:10.1594/PANGAEA.269656", prefix="dif") # invalid record id # pg_get_record(identifier = "oai:pangaea.de:doi:10.1594/PANGAEA.11111") # pg_get_record(identifier = "oai:pangaea.de:doi:10.1594/PANGAEA.11111", # prefix="adfadf") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.