newa_nrcc3: Retrieve data from NEWA v3.0 at Cornell University

View source: R/scrappy.R

newa_nrcc3R Documentation

Retrieve data from NEWA v3.0 at Cornell University

Description

Retrieve Weather data from the Network for Environment and Weather Applications (NEWA) version 3.0 at Cornell University.

Usage

newa_nrcc3(
  year,
  month,
  day,
  hour,
  station,
  base = "https://hrly.nrcc.cornell.edu/stnHrly"
)

Arguments

year

Numeric value with the start year.

month

Numeric value with the start month.

day

Numeric value with the start day.

hour

Numeric value with the start hour.

station

String with the station abbreviation. Check scrappy::newa3_stations for a list of stations and abbreviations.

base

Base URL (default: https://hrly.nrcc.cornell.edu/stnHrly).

Value

List of data frames with hourly, daily, hourly_forecast, and daily forecast (daily_forecast) data.

Examples

scrappy::newa_nrcc3(2021, 12, 01, 00, "gbe")

villegar/scrappy documentation built on Jan. 25, 2024, 4:38 p.m.