UVdose is an R package for the manipulation of UV data from TEMIS. TEMIS (Tropospheric Emission Monitoring Internet Service) is a web-based service to browse and download atmospheric satellite data products. More information about TEMIS is available on their website www.temis.nl. UVdose was built to facilitate the integration of UV data into health research. The package functions allow the estimation of daily, seasonal, and annual doses of erythemal UV and UVB based on geographical coordinates and dates. Additionally, a function to estimate a cumulative and weighted UVB dose relevant for vitamin D production in the skin is available.
Install UVdose from GitHub with:
::install_github("rshraim/UVdose") devtools
Basic usage example:
library(UVdose)
<- data.frame(id = c("id001"),
mysample date = as.Date(c("2010-08-04")),
longitude = c(-2.10),
latitude = c(50.5))
<- system.file("extdata", "uvb_example", package="UVdose")
uvb_example
daily_uvb(mysample, date, longitude, latitude, temis_path = uvb_example)