plot_tseries: time-series plot of weather data

Description Usage Arguments Value Author(s) Examples

View source: R/plot_tseries.R

Description

generate time series plot for a given time period, measure, location, and state

Usage

1
2
plot_tseries(online = TRUE, from = "2017-01-01", to = "2017-01-31",
  measure = "t_max", location = "Wolf Point", state = "MT")

Arguments

online

if TRUE(default),realtime data is pulled from the API. if FALSE, data is pulled from sample offline database

from

Beginning of date range. Default: 2017-01-01

to

End of date range. Default: 2017-01-31

measure

metric for which time series plot is needed. Default: "t_max"

location

Valid location supported by NOAA, use getAllLocations for view avaialble locations. Default: "Wolf Point"

state

Valid two letter code of US state. Default: "MT"

Value

time series plot for a given time period, measure, location, and state

Author(s)

Vikramjeet Singh (vjs)

Examples

1
2
3
4
5
6
## Not run: 
plot_tseries(online=FALSE,from="2017-01-01",
to="2017-01-02", measure="t_max",
location='Austin', state='TX')

## End(Not run)

NOAAWeather documentation built on March 21, 2018, 5:08 p.m.