Nothing
getSQLiteFile <-
function(destdir=getwd(),destfile='GEOmetadb.sqlite.gz',type='full') {
localfile <- file.path(destdir,destfile)
if(type == 'full') {
url_geo = "http://starbuck1.s3.amazonaws.com/sradb/GEOmetadb.sqlite.gz"
} else {
url_geo = "http://starbuck1.s3.amazonaws.com/sradb/GEOmetadb_demo.sqlite.gz"
}
download.file(url_geo, destfile=localfile,mode='wb')
cat('Unzipping...\n')
gunzip(localfile,overwrite=TRUE)
unzippedlocalfile <- gsub('[.]gz$','',localfile)
con <- dbConnect(SQLite(),unzippedlocalfile)
dat <- dbGetQuery(con,'select * from metaInfo')
dbDisconnect(con)
cat("Metadata associate with downloaded file:\n")
print(dat)
return(unzippedlocalfile)
}
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.