Description Usage Arguments Value References See Also Examples
View source: R/pg_list_identifiers.R
List identifiers of the Pangaea repository
1 2 3 4 5 6 7 8 9 |
prefix |
A character string to specify the metadata format in OAI-PMH
requests issued to the repository. The default ( |
from |
Character string giving datestamp to be used as lower bound for datestamp-based selective harvesting (i.e., only harvest records with datestamps in the given range). Dates and times must be encoded using ISO 8601. The trailing Z must be used when including time. OAI-PMH implies UTC for data/time specifications. |
until |
Character string giving a datestamp to be used as an upper bound, for datestamp-based selective harvesting (i.e., only harvest records with datestamps in the given range). |
set |
A character string giving a set to be used for selective harvesting (i.e., only harvest records in the given set). |
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 |
XML character string, data.frame, or list, depending on what
requested with the as
parameter
wraps oai::list_identifiers()
Other oai methods:
pg_get_record()
,
pg_identify()
,
pg_list_metadata_formats()
,
pg_list_records()
,
pg_list_sets()
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
pg_list_identifiers(
from = paste0(Sys.Date() - 4, "T00:00:00Z"),
until = paste0(Sys.Date() - 3, "T18:00:00Z")
)
pg_list_identifiers(set="geocode1", from=Sys.Date()-1, until=Sys.Date())
pg_list_identifiers(prefix="iso19139", from=Sys.Date()-1, until=Sys.Date())
pg_list_identifiers(prefix="dif",
from = paste0(Sys.Date() - 2, "T00:00:00Z"),
until = paste0(Sys.Date() - 1, "T18:00:00Z")
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.