station_forecast {weathR}R Documentation

Station Forecast

Description

Station Forecast

Usage

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

Arguments

station_id

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 point corresponding to the given station identifier with recent meteorological forecast values.

Examples


station_forecast("KBOS") %>% data.frame() %>% dplyr::select(-geometry)


[Package weathR version 0.1.0 Index]