Learn R Programming

trainR (version 0.0.1)

extract: Extract data from XML request

Description

Extract data from XML request

Usage

extract(x, ...)

# S3 method for GetServiceDetailsResult extract(x, ...)

# S3 method for StationBoard extract(x, ...)

# S3 method for busServices extract(x, ...)

# S3 method for callingPoint extract(x, ...)

# S3 method for callingPointList extract(x, ..., class = "previousCallingPoints")

# S3 method for trainServices extract(x, ...)

# S3 method for service extract(x, ...)

Arguments

x

List with request results.

...

Optional parameters.

class

String with class of the output object.

Value

Tibble with the appropriate format.