hydroscoper
An R interface to the Greek National Data Bank for Hydrometeorological Information.
https://github.com/ropensci/hydroscoper
Category: Hydrosphere
Sub Category: Freshwater and Hydrology
Keywords
climate greece hydrology hydrometeorology hydroscope meteorological-data meteorological-stations peer-reviewed r r-package rstats tidy-data time-series water-resources
Keywords from Contributors
precipitation genomics routing topic-modeling climate-data
Last synced: about 6 hours ago
JSON representation
Repository metadata
R interface to the Greek National Data Bank for Hydrometeorological Information
- Host: GitHub
- URL: https://github.com/ropensci/hydroscoper
- Owner: ropensci
- License: other
- Created: 2017-12-13T08:33:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-10-21T04:25:41.000Z (2 months ago)
- Last Synced: 2025-10-22T03:53:47.621Z (2 months ago)
- Topics: climate, greece, hydrology, hydrometeorology, hydroscope, meteorological-data, meteorological-stations, peer-reviewed, r, r-package, rstats, tidy-data, time-series, water-resources
- Language: R
- Homepage: https://docs.ropensci.org/hydroscoper
- Size: 6.51 MB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 11
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codemeta: codemeta.json
README.Rmd
---
title: hydroscoper
output: github_document
editor_options:
chunk_output_type: inline
---
```{r, echo=FALSE, message=FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
chk_online <- FALSE
# helper function to check if a sub-domain is online
online <- function(url = "kyy.hydroscope.gr") {
# test the http capabilities of the current R build
if (!capabilities(what = "http/ftp")) return(FALSE)
# test connection by trying to read first line of url
test <- try(suppressWarnings(readLines(url, n = 1)), silent = TRUE)
# return FALSE if test inherits 'try-error' class
!inherits(test, "try-error")
}
# check if sub-domains are online
chk_online <- online()
```
[](https://github.com/ropensci/hydroscoper/actions)
[](https://app.codecov.io/gh/ropensci/hydroscoper)
[](https://cran.r-project.org/)
[](https://cran.r-project.org/package=hydroscoper)
[](https://github.com/ropensci/hydroscoper)
[](https://cran.r-project.org/package=hydroscoper)
[](https://github.com/ropensci/software-review/issues/185)
[](https://doi.org/10.5281/zenodo.1196540)
[](https://doi.org/10.21105/joss.00625)
`hydroscoper` is an R interface to the Greek National Data Bank for Hydrological and Meteorological Information,
*Hydroscope*. For more details checkout the package's [website](https://docs.ropensci.org/hydroscoper/) and the vignettes:
* [An introduction to `hydroscoper`](https://docs.ropensci.org/hydroscoper/articles/intro_hydroscoper.html) with details about the Hydroscope project and the package.
* [Using `hydroscoper`'s data sets](https://docs.ropensci.org/hydroscoper/articles/stations_with_data.html) with a simple example of how to use the package's internal data sets.
## Installation
Install the stable release from CRAN with:
```{r cran_installation, eval = FALSE}
install.packages("hydroscoper")
```
You can install the development version from GitHub with:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("ropensci/hydroscoper")
```
## Using hydroscoper
The functions that are provided by `hydroscoper` are:
* `get_stations, get_timeseries, ..., etc.` family functions, to retrieve tibbles with Hydroscope's data for a given data source.
* `get_data`, to retrieve a tibble with time series' values.
* `hydro_coords`, to convert Hydroscope's points' raw format to a tibble.
* `hydro_translate` to translate various terms and names from Greek to English.
The data sets that are provided by `hydroscoper` are:
* `stations` a tibble with stations' data from Hydroscope.
* `timeseries` a tibble with time series' data from Hydroscope.
* `greece_borders` a tibble with the borders of Greece.
## Example
This is a minimal example which shows how to get the station's *200200* precipitation time series *56* from the *kyy* sub-domain.
Load libraries and get data:
```{r load_libraries, eval = chk_online}
library(hydroscoper)
library(tibble)
library(ggplot2)
ts_raw <- get_data(subdomain = "kyy", time_id = 56)
ts_raw
```
Let's create a plot:
```{r plot_time_series, eval = chk_online}
ggplot(data = ts_raw, aes(x = date, y = value))+
geom_line()+
labs(title= "30 min precipitation for station 200200",
x="Date", y = "Rain height (mm)")+
theme_classic()
```
## Meta
* Bug reports, suggestions, and code are welcome. Please see [Contributing](https://github.com/ropensci/hydroscoper/blob/master/CONTRIBUTING.md).
* License:
+ All code is licensed MIT.
+ All data are from the public data sources in `http://www.hydroscope.gr/`.
* To cite `hydroscoper` please use:
```
Vantas Konstantinos, (2018). hydroscoper: R interface to the Greek National Data Bank for
Hydrological and Meteorological Information. Journal of Open Source Software,
3(23), 625 DOI:10.21105/joss.00625
```
or the BibTeX entry:
```
@Article{kvantas2018,
author = {Konstantinos Vantas},
title = {{hydroscoper}: R interface to the Greek National Data Bank for Hydrological and Meteorological Information},
doi = {10.21105/joss.00625},
year = {2018},
month = {mar},
publisher = {The Open Journal},
volume = {2},
number = {23},
journal = {The Journal of Open Source Software}
}
```
[](https://ropensci.org)
Owner metadata
- Name: rOpenSci
- Login: ropensci
- Email: info@ropensci.org
- Kind: organization
- Description:
- Website: https://ropensci.org/
- Location: Berkeley, CA
- Twitter: rOpenSci
- Company:
- Icon url: https://avatars.githubusercontent.com/u/1200269?v=4
- Repositories: 307
- Last ynced at: 2023-03-10T20:30:59.242Z
- Profile URL: https://github.com/ropensci
GitHub Events
Total
- Watch event: 1
- Push event: 330
Last Year
- Watch event: 1
- Push event: 266
Committers metadata
Last synced: 2 days ago
Total Commits: 308
Total Committers: 4
Avg Commits per committer: 77.0
Development Distribution Score (DDS): 0.373
Commits in past year: 7
Committers in past year: 1
Avg Commits per committer in past year: 7.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| = | = | 193 |
| Konstantinos Vantas | k****s@g****m | 113 |
| Sharla Gelfand | s****d@g****m | 1 |
| Jeroen Ooms | j****s@g****m | 1 |
Issue and Pull Request metadata
Last synced: 4 months ago
Total issues: 16
Total pull requests: 1
Average time to close issues: 28 days
Average time to close pull requests: about 14 hours
Total issue authors: 3
Total pull request authors: 1
Average comments per issue: 0.25
Average comments per pull request: 2.0
Merged pull request: 1
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- kvantas (14)
- maelle (1)
- jeroen (1)
Top Pull Request Authors
- sharlagelfand (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 1
- Total downloads: unknown
- Total docker downloads: 130,623
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 8
cran.r-project.org: hydroscoper
Interface to the Greek National Data Bank for Hydrometeorological Information
- Homepage: https://github.com/ropensci/hydroscoper
- Status: removed
- Documentation: http://cran.r-project.org/web/packages/hydroscoper/hydroscoper.pdf
- Licenses: MIT + file LICENSE
- Latest release: 1.4.1 (published over 4 years ago)
- Last Synced: 2025-12-24T07:28:48.164Z (1 day ago)
- Versions: 8
- Dependent Packages: 0
- Dependent Repositories: 0
- Docker Downloads: 130,623
-
Rankings:
- Stargazers count: 16.258%
- Forks count: 21.888%
- Average: 25.849%
- Dependent packages count: 29.797%
- Dependent repos count: 35.455%
Dependencies
- R >= 3.4 depends
- jsonlite >= 1.7 imports
- pingr >= 2.0 imports
- readr >= 1.4 imports
- stringi >= 1.5 imports
- stringr >= 1.4 imports
- tibble >= 3.1 imports
- ggplot2 >= 3.3 suggests
- knitr >= 1.31 suggests
- rmarkdown >= 2.7 suggests
- testthat >= 3.0 suggests
- actions/cache/restore v3 composite
- actions/cache/save v3 composite
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-tinytex v2 composite
- actions/checkout v4 composite
- peter-evans/create-pull-request v4 composite
- r-lib/actions/setup-r v2 composite
Score: 15.805460558679814