oai_available {oai} | R Documentation |
Test of OAI-PMH service is available
Description
Silently test if OAI-PMH service is available under the URL provided.
Usage
oai_available(u, ...)
Arguments
u |
base URL to OAI-PMH service |
... |
other arguments passed to |
Value
TRUE
or FALSE
if the service is available.
Examples
## Not run:
url_list <- list(
archivesic="http://archivesic.ccsd.cnrs.fr/oai/oai.php",
datacite = "http://oai.datacite.org/oai",
# No OAI-PMH here
google = "http://google.com"
)
sapply(url_list, oai_available)
## End(Not run)
[Package oai version 0.4.0 Index]