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:
devtools::install_github("rshraim/UVdose")
Basic usage example:
library(UVdose)
mysample <- data.frame(id = c("id001"),
date = as.Date(c("2010-08-04")),
longitude = c(-2.10),
latitude = c(50.5))
uvb_example <- system.file("extdata", "uvb_example", package="UVdose")
daily_uvb(mysample, date, longitude, latitude, temis_path = uvb_example)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.