Learn R Programming

RSMET (version 1.3.8)

meteofrance: Snow Weather Data in France

Description

The meteofrance data frame is a table containing snow and weather data obtained through MeteoDataFrance R package (https://github.com/ecor/MeteoDataFrance).

Usage

data(meteofrance)

Arguments

Format

data.frame

Details

It is organized with the following fields:

"latitude":

latitude of the weather station;

"longitude":

longitude of the weather station;

"station_id":

id of the weather station;

"altitude":

altitude of the weather station;

"location":

location name of the weather station;

"timestamp":

POSIXlt date and time:

"VW","TA","TD","RH",...:

weather variables(name in accordance with SMET specification);

"*_reapeted":

the column is repeated

;

The meteofrance data frem has an attribute: metaparam is a data frame containing meta info on the weather variables:

"Descriptif":

weather variable description provided by MeteoFrance (in French);

"IDparam","Mnemonique":

MeteoFrance id for the weather variable;

"type":

weather variable type;

"unite":

measerement unit of the weather variable;

"SMET_ID":

SMET id for the weather variable (they are used as field/column names in meteofrance);

"SMET_UNIT_MULTIPIPLIER":

SMET unit multiplier respect to the SMET_ID variable's MKSA unit (see SMET specifications);

"SMET_UNIT_OFFSET":

SMET unit offset respect to the SMET_ID variable's MKSA unit (see SMET specifications).

See Also

as.smet

Examples

Run this code
# NOT RUN {
 




library(ggmap)
data(meteofrance)

# }
# NOT RUN {
## See help(get_map) documentation and run the example with a connection to Google!

dates <- as.Date(meteofrance$timestamp)

data=meteofrance[dates==dates[1],]



map <- get_map(location ="France", zoom = 6)

size <- 3

gsnow <- ggmap(map) +
		geom_point(data = data,aes(x = longitude, y = latitude),size=size,  alpha
						=1, color="blue",show.legend  = FALSE)

## Uncomment if you want to save in PDF format the otput of gsnow
## ggsave("test-map.pdf", gsnow,width=10,height=10)
# }

Run the code above in your browser using DataLab