plot_calhmap: calendar heat map of weather data

Description Usage Arguments Value Author(s) Examples

View source: R/plot_calhmap.R

Description

generate calendar heat map for a given time period, measure, location, and state

Usage

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

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"

text

if TRUE, print the values of each day on heatmap, if FALSE values are not printed

Value

calendar heat map for a given time period, measure, location, and state

Author(s)

Vikramjeet Singh (vjs)

Examples

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

## End(Not run)

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