Inherited methods
Method list_services()
list available services
Usage
CatalogNode$list_services(
xpath = build_xpath("service", prefix = self$prefix),
form = "list"
)
Arguments
xpath
character, the xpath specifications
form
character, either "list" or "table"
Returns
list of zero or more character vectors
Method list_catalogs()
list available catalogRefs
Usage
CatalogNode$list_catalogs(
xpath = build_xpath(c("dataset", "catalogRef"), prefix = self$prefix),
form = "list"
)
Arguments
xpath
character, the xpath descriptor
form
character, either "list" or "table"
Returns
a list with zero or more character vectors
Method list_datasets()
list available datasets
Usage
CatalogNode$list_datasets(
xpath = build_xpath(c("dataset", "dataset"), prefix = self$prefix),
form = "list"
)
Arguments
xpath
character, the xpath descriptor
form
character, either "list" or "table"
Returns
a list with zero or more character vectors
Method get_catalogs()
Retrieve a list one or more of child catalogs
Usage
CatalogNode$get_catalogs(
index,
xpath = build_xpath(c("dataset", "catalogRef"), prefix = self$prefix)
)
Arguments
index
integer index (1,...,nChild), indices or name(s)
xpath
character xpath representation
Returns
a list of Catalog class objects, possibly NULL
Method get_datasets()
Retrieve list one or more dataset children
Usage
CatalogNode$get_datasets(
index,
xpath = build_xpath(c("dataset", "dataset"), prefix = self$prefix)
)
Arguments
index
the integer index (1,...,nChild), indices or name(s)
xpath
character xpath representation
Returns
a list of Dataset objects or NULL
Method get_dataset_names()
Retrieve list zero or more dataset child names. If unnnamed, then
we substitute "title", "ID", "urlPath", or "href" in that order of availability.
Usage
CatalogNode$get_dataset_names(
xpath = build_xpath(c("dataset", "dataset"), prefix = self$prefix)
)
Arguments
xpath
character xpath representation
index
the integer index (1,...,nChild), indices or name(s)
Returns
character vector of zero or more names
Method get_catalog_names()
Retrieve list zero or more catalog child names. If unnnamed, then
we substitute "title", "ID", "urlPath" or href" in that order of availability.
Usage
CatalogNode$get_catalog_names(
xpath = build_xpath(c("dataset", "catalogRef"), prefix = self$prefix)
)
Arguments
xpath
character xpath representation
index
the integer index (1,...,nChild), indices or name(s)
Returns
character vector of zero or more names
Method parse_catalog_node()
Parse a catalog node
Usage
CatalogNode$parse_catalog_node(x)
Returns
Catalog class object
Method parse_dataset_node()
Parse a dataset node
Usage
CatalogNode$parse_dataset_node(x)
Returns
Dataset class object
print method
Usage
CatalogNode$print(prefix = "")
Arguments
prefix
character, to be printed before each line of output (like spaces)
...
other arguments for superclass
Method clone()
The objects of this class are cloneable with this method.
Usage
CatalogNode$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.