powered by
This functions calls upon the UVI API from data.gov.sg and returns UVI values for the given date. This data provided by the API is updated hourly.
uvi_summary(date = "")
Defaults to current (SGD) time. Format: YYYY-MM-DD
A dataframe containing the UVI for the given date
Note that there is only information on the UVI between 0700 and 1900. The returned data frame would only contain UVI values between this range.
# NOT RUN { uvi_summary() uvi_summary(date = "2018-10-10") uvi_summary(date = "2019-04-01") # }
Run the code above in your browser using DataLab