parseResults: Parses the XML returned from eclDirectCall().

Description Usage Arguments Examples

View source: R/functions.R

Description

Parses the XML returned from eclDirectCall() and allows you to download the result in either CSV or XML format

Usage

1
  parseResults(xmlResult, downloadPath, format)

Arguments

xmlResult

XML Output returned from eclDirectCall()

downloadPath

The path where you want to file. Do not specify the file name.

format

The format of the file to download. The file can be downloaded only in CSV and XML format. If no format is specified the file is downloaded in CSV format.

Examples

1
2
3
4
5
  ## Not run: 
    xmlContent <- eclDirectCall(hostName = "127.0.0.1", eclCode=ecl)
    data <- parseResults(xmlContent, downloadPath="C:/Temp", format="xml")
  
## End(Not run)

rHpcc documentation built on May 2, 2019, 11:04 a.m.

Related to parseResults in rHpcc...