Learn R Programming

cptec (version 0.1.1)

iuv: Get current ultra violet index

Description

This function allows the user to retrieve the last updated data from CPTEC/INPE ultra violet index for a determined city

Usage

iuv(id)

Arguments

id

The city's ID

Value

The function returns a data frame printed by city id

See Also

prevEstendida

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
## Requesting the last updated of the ultra violet index drom Campo Grande/MS
iuv(225)

## The same for the city of Rio de Janeiro
iuv(241)

# }

Run the code above in your browser using DataLab