download_radiation: Download Ultraviolet Radiation Archives

Description Usage Arguments Value Examples

Description

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

Usage

1
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

1
2
3
4
## Not run: 
head(download_radiation("UVA", 2017))

## End(Not run)

aire.zmvm documentation built on May 2, 2019, 2:07 a.m.