Learn R Programming

geoknife (version 1.6.11)

webdata: create webdata object

Description

A class representing a web dataset.

Usage

webdata(.Object, ...)

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

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

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

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

Value

the webdata object representing a dataset and parameters

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.

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

Jordan S Read

Examples

Run this code
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'))

Run the code above in your browser using DataLab