geojob-methods: create geojob object

Description Usage Arguments Value Author(s) Examples

Description

A class representing a geoknife job (geojob).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
geojob(xml, ...)

## S4 method for signature 'missing'
geojob(xml, ...)

## S4 method for signature 'xml_document'
geojob(xml, ...)

## S4 method for signature 'character'
geojob(xml, ...)

xml(.Object) <- value

xml(.Object)

id(.Object)
id(.Object) <- value

id(.Object)

## S4 replacement method for signature 'geojob'
id(.Object) <- value

## S4 method for signature 'geojob'
id(.Object)

## S4 method for signature 'character'
id(.Object)

Arguments

xml

location of xml (URL or local path)

...

additional arguments passed to initialize method

.Object

a geojob object

value

a character string of xml

Value

the geojob object

Author(s)

Jordan S Read

Examples

1
2
3
4
5
6
7
8
xml <- "<foo> <bar> text <baz/> </bar> </foo>"
gj <- geojob()
xml(gj) <- xml
xml(gj)
xml <- "<foo version=\"1.0.0\"> <bar> text <baz/> </bar> </foo>"
gj <- geojob(xml = xml)
xml(gj)
id(gj)

eric-erki/geoknife documentation built on Dec. 31, 2019, 12:54 a.m.