Learn R Programming

weathR (version 0.1.0)

point_station: Find Nearest ASOS/AWOS Station

Description

Find Nearest ASOS/AWOS Station

Usage

point_station(lat, lon)

Value

A string corresponding to an ASOS or AWOS station.

Arguments

lat

Latitude.

lon

Longitude.

Examples

Run this code
# Gets the observation data as an sf associated with a point
# \donttest{
point_station(lat = 42, lon = -80) %>% station_obs() %>% data.frame()
# }

Run the code above in your browser using DataLab