weatherdata: Weather data

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/camweather.R

Description

Get the weather data for a day.

Usage

1

Arguments

date

A character describing a date with format "YYYY-MM-DD".

Details

Data are immediate at Time except wind speed (average since previous Time) and wind direction (most frequent since previous Time.) Sun and rain values are cumulative from codeStart. MxWSpd gives max wind speed since previous Time.

Value

A data.frame with the weather data for the corresponding date.

Author(s)

Laurent Gatto <lg390@cam.ac.uk>

See Also

nounits to remove the units from the data.frame's names.

Examples

1
2
3
4
x <- weatherdata("2012-12-25")
dim(x)
head(x)
plot(x$Time, x[, "Temp [degC]"], type = "b")

lgatto/camweather documentation built on May 21, 2019, 6:04 a.m.