Description Usage Format Details Author(s) Source See Also Examples
The meteofrance
data frame is a table containing snow and weather data obtained through MeteoDataFrance
R package (https://github.com/ecor/MeteoDataFrance).
1 |
data.frame
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).
Emanuele Cordano
https://donneespubliques.meteofrance.fr(in pariticular https://donneespubliques.meteofrance.fr/?fond=produit&id_produit=94&id_rubrique=32)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
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)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.