Nothing
# Author: Robert J. Hijmans
# May 2011
# Version 1.0
# Licence GPL v3
.getSoilGoAccess <- function(mdb, props) {
props <- unique(c(props, c("hzdept_r", "hzdepb_r")))
props <- paste("chorizon.", props, sep="")
props <- paste(props, collapse = ", ")
if (!require(RODBC)) { stop('RODBC package is missing') }
con = odbcConnectAccess(mdb)
if (con == -1) {
if (!file.exists(mdb)) {
stop('mdb file does not exist')
}
stop('cannot connect to database')
}
sql <- paste('SELECT mapunit.mukey, component.cokey, component.comppct_r,', props, 'FROM (mapunit INNER JOIN component ON mapunit.mukey = component.mukey) INNER JOIN chorizon ON component.cokey = chorizon.cokey;')
d <- sqlQuery(con, sql)
close(con)
d
}
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.