if(!is.na(getOption("Rcimis_key", NA))) {
library(Rcimis)
d = CIMISweather("2015-01-01", "2015-01-20", 12)
d = CIMISweather("2015-01-01", "2015-01-20", 12, dataItems = c("day-air-tmp-min", "day-air-tmp-avg"))
de = CIMISweather("2015-01-01", "2015-01-20", 12, dataItems = c("day-air-tmp-min", "day-air-tmp-avg"), unitOfMeasure = "E")
de = CIMISweather("2015-01-01", "2015-01-20", 12, dataItems = c("day-air-tmp-min", "day-air-tmp-avg"), prioritizeSCS = FALSE, .opts = list(verbose = TRUE))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.