Learn R Programming

thredds (version 0.1-4)

parse_node: 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", ...)

Value

ThreddsNode class object or subclass

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")