extract: Extract data from XML request

Description Usage Arguments Value

View source: R/extract.R

Description

Extract data from XML request

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
extract(x, ...)

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

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

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

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

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

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

## S3 method for class '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.


trainR documentation built on Jan. 20, 2021, 5:06 p.m.