GetMetOffice: Get regional Met Office average temperature or rainfall...

View source: R/RainAPI.R

GetMetOfficeR Documentation

Get regional Met Office average temperature or rainfall series (monthly, seasonal, and annual).

Description

Extracts regional mean temperature or rainfall from the met office UK & regional series. The total duration of bright sunshine is also available.

Usage

GetMetOffice(Variable, Region)

Arguments

Variable

Either Tmean, Rainfall, or Sunshine

Region

One of "UK", "England", "Wales", "Scotland", "Northern_Ireland", "England_and_Wales", "England_N", "England_S", "Scotland_N", "Scotland_E", "Scotland_W", "England_E_and_NE", "England_NW_and_N_Wales", "Midlands", "East_Anglia", "England_SW_and_S_Wales", "England_SE_and_Central_S".

Details

The function returns time series data from the 19th century through to the present month.

Value

A data.frame with 18 columns; year, months, seasons, and annual. Rows then represent each year of the timeseries.

Author(s)

Anthony Hammond

Examples

#Get the Rainfall series for the UK
## Not run: UKRain <-  GetMetOffice(Variable = "Rainfall", Region = "UK") 
#Now we'll get mean temperature data for East Anglia
## Not run: TempEastAnglia <- GetMetOffice(Variable = "Tmean", Region = "East_Anglia") 

UKFE documentation built on Sept. 30, 2024, 9:46 a.m.

Related to GetMetOffice in UKFE...