A direct Dataset representation that subclasses from ThreddsNode
thredds::ThreddsNode -> DatasetNode
namecharacter, often the filename
dataSizenumeric, size in bytes
datecharacter, modification date
Inherited methods
new()initialize an instance of ServiceNode
DatasetNode$new(x, ...)xurl or xml2::xml_node
...arguments for superclass initialization
GET()Overrides the GET method of the superclass. GET is not permitted
DatasetNode$GET()NULL
get_url()Retrieve the relative URL for a dataset.
DatasetNode$get_url(
service = c("dap", "opendap", "wms")[1],
sep = c("/", "")[2],
...
)servicecharacter, the service to use. (default 'dap' equivalent to 'opendap') Ignored if `urlPath` or `href` is in the nodes' attributes.
sepcharacter, typically "/" or "" (default), used for joined base_url to relative url
...other arguments for DatasetNode$list_access
character
list_access()list access methods
DatasetNode$list_access(xpath = build_xpath("access", prefix = self$prefix))xpathcharcater, xpath descriptor
named list of character vectors or NULL
prefixcharacter, to be printed before each line of output (like spaces)
...other arguments for superclass
clone()The objects of this class are cloneable with this method.
DatasetNode$clone(deep = FALSE)deepWhether to make a deep clone.