Skip to contents

Uses Open-Meteo forecast API for upcoming matches (within 16 days).

Usage

fetch_forecast_weather(lat, lon, match_date, match_days = 1)

Arguments

lat

Numeric. Venue latitude.

lon

Numeric. Venue longitude.

match_date

Date. Match start date.

match_days

Integer. Number of match days (1 for T20/ODI, 5 for Test).

Value

data.frame with weather features, or NULL if unavailable.