get_weathersumm: Gets hourly aggregated weather data in Singapore for...

Description Usage Arguments Details Value Examples

Description

Returns a dataframe of hourly aggregated weather data in Singapore for specified dates: Air temperature, Humidity, Rainfall, UV, PSI 24-Hourly

Usage

1
get_weathersumm(from, to)

Arguments

from

Starting date. Must be a character string, in "YYYY-MM-DD" format.

to

Final date, inclusive. Must be a character string, in "YYYY-MM-DD" format.

Details

User inputs a starting and final date. Returns hourly aggregated weather data from multiple API sources. Per-minute air temperature data, per-minute humidity data, 5-minute rainfall data is aggregated over the hour and across weather stations distributed across Singapore. PSI 24-hourly data and UV levels will be taken directly from APIs which provide national, hourly data.

Value

Dataframe of air temperature, humidity, rainfall, UV, PSI 24-hourly data aggregated over Singapore at the hourly level.

Examples

1
get_weathersumm("2017-12-31", "2018-01-04")

andrew-loh/neaSG documentation built on May 30, 2019, 1:36 p.m.