Description Usage Arguments Author(s) References See Also Examples
WADL is the Web Applications Description Language, which is essentially a way to specify WS parameters through dressed up XML
These functions can only be used to inspect the query protocol for a given webservice.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | waddler(service, ...)
wadl(u, ...)
is.iriswadl(x, ...)
parameters(x, ...)
## S3 method for class 'iriswadl'
parameters(x, ...)
describe(x, ...)
## S3 method for class 'iriswadl'
describe(x, ...)
|
service |
character |
... |
additional objects |
u |
the full url |
x |
object to test, describe, or query-construct with |
A.J. Barbour
[1] http://www.w3.org/Submission/wadl/
constructor
, which generates the appropriate url
iris.query
to query IRIS WS
Other Utilities: irisws-package
,
irisws-queryconstruction
,
irisws-timeutilities
,
query.iris
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # simply parse some wadl-xml:
wadl("http://service.iris.edu/irisws/distaz/1/application.wadl")
# shortcut to generating the url, with attributes:
wd <- waddler("timeseries")
class(wd)
is.iriswadl(wd)
# print some information about the webservice
# and return query parameters:
describe(wd)
# Try another webservice
wd <- waddler("traveltime")
# return a data.frame showing the parameters acceptable
# for a query, and indicating if
# they are required and/or have default values:
print(p <- parameters(wd))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.