Learn R Programming

solaR (version 0.14)

LeeMAPA: Meteorological data from www.mapa.es/siar

Description

Download and transform meteorological data from www.mapa.es/siar for a station of a province (Spain) in a time period.

Usage

LeeMAPA(Provincia, Estacion, FechaInicio, FechaFinal)

Arguments

Provincia
numeric, number of the spanish province according to the information of RedEstaciones
Estacion
numeric, number of the station according to the information of RedEstaciones
FechaInicio
character, first day of the time period with format '%d/%m/%Y'
FechaFinal
character, last day of the time period with format '%d/%m/%Y'

Value

  • data.frame with the information available at www.mapa.es/siar, where the global irradiation on the horizontal plane is named G and the maximum and minimum values of the ambient temperature are name TempMax and TempMin, respectively

encoding

UTF-8

References

www.mapa.es/siar

See Also

fTemp

Examples

Run this code
#Aranjuez, Madrid
BD<-LeeMAPA(28,3,'01/01/2008','31/12/2008')
viento=equal.count(BD$VelViento)
xyplot(TempMedia~G|viento,data=BD)

Run the code above in your browser using DataLab