plot_boxplot: box plot of weather data

Description Usage Arguments Value Author(s) Examples

View source: R/plot_boxplot.R

Description

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

Usage

1
2
plot_boxplot(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 box 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

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

Author(s)

Vikramjeet Singh (vjs)

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
plot_boxplot(online=FALSE,from="2017-01-01",
to="2017-01-03", measure="t_max",
location='Austin', state='TX')
plot_boxplot(online=TRUE,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.