Learn R Programming

NOAAWeather (version 0.1.0)

getSpatialPlotData: generate data for plot_spatial()

Description

generate data for plot_spatial()

Usage

getSpatialPlotData(online = TRUE, date = "2017-01-01",
  metric = "t_official")

Arguments

online

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

date

date for which spatial plot is needed. Default: 2017-01-01

metric

metric for which spatial plot is needed. Default: "t_official"

Value

a dataframe of values for the given metric and date