Learn R Programming

SWMPr (version 2.5.0)

parser: Parse web results for swmpr

Description

Parsing function for objects returned from CDMO web services

Usage

parser(resp_in, parent_in = "data")

Value

Returns a data.frame of parsed XML nodes

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.