fcVariables: Fetches information about available variables

Description Usage Arguments Value Examples

View source: R/RFc.R

Description

Fetches information about available variables

Usage

1
fcVariables(url = "http://fetchclimate2.cloudapp.net/", timestamp = "NOW")

Arguments

url

The URL of the service to get the information about

timestamp

A character scalar. A string containing the time for which the result must correspond. The format is "YYYY-MM-DD". The special value "NOW" fetch the data using the latest FetchClimate configuration available.

Value

Type: list
Contains a descriptions of the variables available for fetching

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#Getting currently available variables

fcVariables()

#Getting variables available on 1 June 2016

fcVariables(timestamp='2016-06-01')

#Obtaining units of "prate" variable

fcVariables(timestamp='2016-06-01')$`prate`$Units

RFc documentation built on May 29, 2017, 5:53 p.m.

Related to fcVariables in RFc...