| ThreddsNode | R Documentation |
R6 base class for all other to inherit from
urlcharacter - possibly wrong but usually right!
nodexml2::xml_node
verboselogical
prefixxpath namespace prefix, NA or NULL or charcater() to ignore
triesnumeric number of requests attempts before failing
encodingcharacter, by default 'UTF-8'
base_urlcharacter, the base URL for the service
new()initialize an instance of ThreddsNode
ThreddsNode$new( x, verbose = FALSE, n_tries = 3, prefix = NULL, ns_strip = FALSE, encoding = "UTF-8", base_url = "" )
xurl or xml2::xml_node
verboselogical, TRUE to be noisy (default FALSE)
n_triesnumeric, defaults to 3
prefixcharacter, the namespace to examine (default NULL, inherited when initialized)
ns_striplogical, if TRUE then strip namespace (default FALSE)
encodingcharacter, by default 'UTF-8'
base_urlcharacter, the base URL for the service
print()print method
ThreddsNode$print(prefix = "", ...)
prefixcharacter, to be printed before each line of output (like spaces)
...other argum,ents (ignored for now)
GET()Retrieve a node of the contents at this nodes URL
ThreddsNode$GET()
ThreddsNode or subclass or NULL
browse()Browse the URL if possible
ThreddsNode$browse()
children_names()Retrieve a vector of unique child names
ThreddsNode$children_names(...)
...further arguments for xml_children_names
a vector of zero or more child names
clone()The objects of this class are cloneable with this method.
ThreddsNode$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class. For examples see CatalogNode
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.