-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
111 lines (88 loc) · 5.25 KB
/
README.Rmd
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# emyweather
[](https://travis-ci.org/kvantas/emyweather)
[](https://ci.appveyor.com/project/kvantas/emyweather)
[](https://cran.r-project.org/)
[](https://github.com/kvantas/emyweather)
[](https://doi.org/10.5281/zenodo.1159500)
`emyweather` is an R package that contains climatic data from the [Greek National Meteorological Service](http://emy.gr), as well as a number of useful other related data sets. The climatic data come from 21 weather stations, with a time step of 3 hours and the time period is from 1975 to 2004. For more details checkout the package's [website](https://kvantas.github.io/emyweather/).
<img src="https://github.com/kvantas/emyweather/raw/master/man/figures/stations_map.png" align = "center"/>
## Installation
You can install emyweather from github with:
```{r gh_installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("kvantas/emyweather")
```
## Using emyweather
This package is comprised of three data sets:
* `emy_data`: climatic measurements
* `emy_stations`: weather stations' coordinates and elevation
* `borders`: borders of Greece
### `emy_data`
The variables in this data set are:
| Variable | Description |
|-------------------|-------------------------------------------------|
|date |The observation's date |
|station_id |Greek National Meteorological Service station ID |
|pressure |Pressure, in hPa |
|dry_temp |Dry temperature, in degree Celsius |
|wet_temp |Wet temperature, in degree Celsius |
|max_temp |Maximum temperature, in degree Celsius |
|min_temp |Minimum temperature, in degree Celsius |
|rel_humidity |Relative humidity, in percent |
|wind_direction |Wind direction, in degrees |
|wind_force_knot |Wind force, in knots |
|visibility |Visibility, in km |
|total_cloud_amount |Total cloud amount, in values 0 to 9 |
|precipitation |Precipitation height, in mm |
Please note that these time series are not checked for consistency or errors.
### `emy_stations`
The stations' data are taken from the Greek National Data Bank for Hydrological and Meteorological Information, [Hydroscope](http://www.hydroscope.gr/) using the package [`hydroscoper`](https://github.com/ropensci/hydroscoper/blob/master/vignettes/intro_hydroscoper.Rmd). The variables are:
| Variable | Description |
|---------------|---------------------------------------------------|
| name |The station's name |
| station_id |Greek National Meteorological Service station ID |
| hydroscope_id |The station's ID from kyy.hydroscope.gr database |
| water_division|The station's Water Division |
| longitude |The station's longitude in decimal degrees, ETRS89 |
| latitude |The station's latitude in decimal degrees, ETRS89 |
| altitude |The station's altitude, meters above sea level |
### `borders`
The borders of Greece are taken from Geoadata.gov.gr. The variables are created using the function `tidy` from the [`broom`](https://cran.r-project.org/web/packages/broom/index.html) package for use with `geom_polygon` from [`ggplot2`](https://cran.r-project.org/web/packages/ggplot2/).
## Meta
* Please [report any issues or bugs](https://github.com/kvantas/emyweather/issues).
* Licence:
+ All code is licensed MIT.
+ All data are from the open data sources in http://www.emy.gr/.
* To cite `emyweather` in publications, please use:
```
Vantas, (2018). emyweather: R package with open climatic data from the Greek National
Meteorological Service, URL: https://github.com/kvantas/emyweather,
DOI:http://doi.org/10.5281/zenodo.1159500
```
A BibTeX entry for LaTeX users is
```
@Manual{ vantas2018emy,
author = {Konstantinos Vantas},
title = {{emyweather}: R package with open climatic data from the Greek National Meteorological Service},
doi = {10.5281/zenodo.1159500},
year = {2018},
note = {R package version 0.2.0},
url = {https://github.com/kvantas/emyweather},
}
```
* Please note that this project is released with a [Contributor Code of Conduct](/CONDUCT.md). By participating in this project you agree to abide by its terms.
## References
* [GEODATA.gov.gr](http://geodata.gov.gr/)
* [Hydroscope](http://www.hydroscope.gr/)
* [National Meteorological Service](http://www.emy.gr/)