webdata-methods: create webdata object

Description Usage Arguments Value Slots Author(s) Examples

Description

A class representing a web dataset.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
webdata(.Object, ...)

## S4 method for signature 'missing'
webdata(.Object, ...)

## S4 method for signature 'character'
webdata(.Object = c("prism", "iclus", "daymet",
  "gldas", "nldas", "topowx", "solar", "metobs"), ...)

## S4 method for signature 'geojob'
webdata(.Object, ...)

## S4 method for signature 'ANY'
webdata(.Object, ...)

Arguments

.Object

any object that can be coerced into webdata (currently character, webdata, and list)

...

additional arguments passed initialize method (e.g., times, or any other in the webdata object.

Value

the webdata object representing a dataset and parameters

Slots

times

value of type "POSIXct", start and stop dates for data

url

value of type "character", the web location for the dataset

variable

value of type "character", the variable(s) for data

Author(s)

Jordan S Read

Examples

1
2
3
4
5
webdata('prism')
webdata('prism', times=as.POSIXct(c('1990-01-01', '1995-01-01')))
webdata(list(times = as.POSIXct(c('1895-01-01 00:00:00','1899-01-01 00:00:00')),
 url = 'https://cida.usgs.gov/thredds/dodsC/prism',
 variables = 'ppt'))

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