Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/registerDatabaseFunctions.R
This function downloads the PROFOUND database
1 | downloadDatabase(location = NULL)
|
location |
file system location to store the database. If not provide, the function will use the current working directory. |
This is a convenience function to quickly download the PROFOUND database. The function will query you to ask about the path to store the databse, and will return a string with the location, for use in setDB
a string with the location of the sql database
Florian Hartig
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# For downloading the data, use
dbfile <- downloadDatabase(location = tempdir())
# Set the connection using the setDB function
setDB(dbfile)
# check if database is available
getDB()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.