webdata-methods: create webdata object

webdataR Documentation

create webdata object

Description

A class representing a web dataset.

Usage

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

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'))

geoknife documentation built on July 9, 2023, 5:31 p.m.