get_rainfall: Gets 5-minute rainfall readings in Singapore for specified...

Description Usage Arguments Details Value Examples

Description

Returns a dataframe of 5-minute rainfall readings for specified dates for various weather stations in Singapore.

Usage

1
get_rainfall(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. 5-minute rainfall readings are then given for all dates from the starting date to the final date, inclusive. Rainfall is measured by mm/5 min. Data is provided for up to 52 weather stations across Singapore, depending on availability of data. To obtain location of weather stations, use function get_weatherstns.

Value

5-minute rainfall readings in Singapore for various weather stations.

Examples

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

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