hydro_coords: Convert coordinates from Hydroscope's points to a tibble

View source: R/hydro_coords.R

hydro_coordsR Documentation

Convert coordinates from Hydroscope's points to a tibble

Description

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(s)

Konstantinos Vantas, kon.vantas@gmail.com

Examples

## Not run: 
# 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)

## End(Not run)

ropensci/hydroscoper documentation built on Jan. 19, 2024, 4:56 a.m.