parse_node: Convert a node to an object inheriting from ThreddsNode

View source: R/misc.R

parse_nodeR 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


thredds documentation built on Sept. 1, 2023, 5:08 p.m.