downloadDatabase {ProfoundData}R Documentation

Downloads the PROFOUND database

Description

This function downloads the PROFOUND database

Usage

downloadDatabase(location = NULL)

Arguments

location

file system location to store the database. If not provide, the function will use the current working directory.

Details

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

Value

a string with the location of the sql database

Author(s)

Florian Hartig

See Also

getDB, setDB

Examples

## 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)

[Package ProfoundData version 0.2.1 Index]