Learn R Programming

weathR (version 0.1.0)

station_tz: Fetch Station Timezone

Description

Fetch Station Timezone

Usage

station_tz(station_id)

Value

A character corresponding to a timezone from OlsonNames().

Arguments

station_id

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

Examples

Run this code
# \donttest{
Sys.time() %>% lubridate::force_tz(tzone = station_tz("KDEN"))
# }

Run the code above in your browser using DataLab