parse_node {thredds}R Documentation

Convert a node to an object inheriting from ThreddsNode

Description

Convert a node to an object inheriting from ThreddsNode

Usage

parse_node(node, url = NULL, verbose = FALSE, encoding = "UTF-8", ...)

Arguments

node

xml2::xml_node or an httr::response object

url

character, optional url if a catalog or direct dataset

verbose

logical, by default FALSE

encoding

character, by default UTF-8

...

further arguments for instantiation of classes (such as ns = "foo")

Value

ThreddsNode class object or subclass


[Package thredds version 0.1-4 Index]