parser: Parse web results for swmpr

Description Usage Arguments Details Value

View source: R/swmpr_misc.R

Description

Parsing function for objects returned from CDMO web services

Usage

1
parser(resp_in, parent_in = "data")

Arguments

resp_in

web object returned from CDMO server, response class from httr package

parent_in

chr string of parent nodes to parse

Details

This function parses XML objects returned from the CDMO server, which are further passed to swmpr. It is used internally by the data retrieval functions, excluding import_local. The function does not need to be called explicitly.

Value

Returns a data.frame of parsed XML nodes


SWMPr documentation built on Feb. 9, 2018, 6:08 a.m.