Skip to contents

hydro_coords returns a tibble with the stations' longitude and latitude using as input the variable point from get_stations function.

Usage

hydro_coords(x)

Arguments

x

a string vector with the points retrieved from Hydroscope

Value

a tibble with the longitude and latitude values.

Author

Konstantinos Vantas, kon.vantas@gmail.com

Examples

if (FALSE) { # \dontrun{
# get stations from the Greek Ministry of Environment and Energy
kyy_stations <- get_stations("kyy")

# create a tibble with stations' coords
coords <- hydro_coords(kyy_stations$point)
} # }