noaa_api_data: Get data from NOAA weather API for Ames, IA

Description Usage Arguments Examples

View source: R/noaa-weather-scraper.R

Description

Get data from NOAA weather API for Ames, IA

Usage

1
2
noaa_api_data(location = NULL, var = c("TMAX", "TMIN"),
  date_min = "2008-01-01", date_max = Sys.Date(), quiet = T)

Arguments

var

variables to download (TMAX, TMIN by default, see rnoaa documentation for other options)

date_min

ymd format, minimum date

date_max

ymd format, maximum date

quiet

print messages?

lat_long_df

data frame with columns id, latitude, and longitude

Examples

1
2
3
4
5
## Not run: 
  # Get Ames minimum and maximum temperature for 2017
  noaa_api_data(date_min = "2017-01-01", date_max = "2017-12-31")

## End(Not run)

heike/wilyscraper documentation built on Aug. 30, 2018, 4:36 a.m.