station_obs: Station Observations

View source: R/04-station_observations.R

station_obsR Documentation

Station Observations

Description

Station Observations

Usage

station_obs(station_id, timezone = -1, dir_numeric = FALSE)

Arguments

station_id

The station identifier (ex: KDEN, KBOS, KNYC, etc).

timezone

The nominal timezone for the forecast. One of OlsonNames() or -1 for local time. Defaults to -1.

dir_numeric

TRUE for numeric directions, FALSE for character directions; defaults to FALSE.

Value

Simple features corresponding to the given station identifier with recent meteorological observations.

Examples


station_obs("KBOS") %>% data.frame() %>%
  dplyr::select(-geometry) %>%
  dplyr::filter(temp == max(.$temp))


weathR documentation built on April 4, 2025, 1:38 a.m.