Description Usage Arguments Value Examples
This method allows users to connect to the GEOmetadb downloaded. If no parameter is provided than the function retrieves the database in sqlite format and returns a connection to query the database
1 2 | connectToGEODB(sqliteFilePath = NULL, download = FALSE,
destdir = getwd())
|
sqliteFilePath |
optional SQLite full file path of the SQLite database if already downloaded |
download |
If TRUE allow the automatic downloading of the database file. |
destdir |
optional destination directory. Current working directory is the default |
A connection to the GEOmetadb
1 2 3 4 5 6 7 8 9 | ## Not run:
geo_connection <- connectToGEODB(download=TRUE)
## End(Not run)
if(file.exists('GEOmetadb.sqlite')){
geo_con <- connectToGEODB()
} else {
message('Please provide GEOmetadb.sqlite file')
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.