Learn R Programming

UKFE (version 0.3.7)

GetMetOffice: 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)

Value

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

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".

Author

Anthony Hammond

Details

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

Examples

Run this code
#Get the Rainfall series for the UK
if (FALSE) UKRain <-  GetMetOffice(Variable = "Rainfall", Region = "UK") 
#Now we'll get mean temperature data for East Anglia
if (FALSE) TempEastAnglia <- GetMetOffice(Variable = "Tmean", Region = "East_Anglia") 

Run the code above in your browser using DataLab