Download data on UVA and UVB from the pollution archives available at Radiación Solar (UVA) and Radiación Solar (UVB)

download_radiation(type, year, progress = interactive())

Arguments

type

type of data to download.

  • "UVA" - long wave ultraviolet A

  • "UVB" - short wave ultraviolet B

year

a numeric vector containing the years for which to download data (the earliest possible value is 2000)

progress

whether to display a progress bar (TRUE or FALSE). By default it will only display in an interactive session.

Value

A data.frame with pollution data. The hours correspond to the Etc/GMT+6 timezone, with no daylight saving time

Examples

if (FALSE) { head(download_radiation("UVA", 2017)) }