geojob-methods: create geojob object

geojobR Documentation

create geojob object

Description

A class representing a geoknife job (geojob).

Usage

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

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)

USGS-R/geoknife documentation built on April 17, 2023, 8:26 p.m.