get_history_hourly_weather: Get history hourly weather information for a specific hour in...

View source: R/get_history_hourly_weather.R

get_history_hourly_weatherR Documentation

Get history hourly weather information for a specific hour in a specific day

Description

Get history hourly weather information for a specific hour in a specific day

Usage

get_history_hourly_weather(q, dt, h)

Arguments

q

A string containing the location, which can be US Zipcode, UK Postcode, Canada Postalcode, IP address, Latitude/Longitude (decimal degree) or city name.

dt

A string containing the date for query, which should be within the last 7 days.

h

An integer containing the hour for query, which be in the range of 0 to 23.

Value

A data frame containing the daily weather information for the hour in the day.

Examples

get_history_hourly_weather("London","2022-02-12",4)

evelynsugi/weatherapi documentation built on April 7, 2022, 12:43 p.m.