Learn R Programming

hydroscoper (version 1.4.1)

hydro_coords: 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.

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab