Learn R Programming

weathR (version 0.1.0)

stations_near: Find All Stations in a Point's Forecast Zone

Description

Find All Stations in a Point's Forecast Zone

Usage

stations_near(lat, lon)

Value

An sf object with station identifiers, geometry as coordinates, and their euclidian distance (in miles) to the station provided.

Arguments

lat

Latitude.

lon

Longitude.

Examples

Run this code
# Plot the a station with given points and the nearby stations in a tmap
# \donttest{
stations_near(lat = 33, lon = -80)
# }

Run the code above in your browser using DataLab