setDB {ProfoundData}R Documentation

A function to set the connection to the database

Description

A setDB funtion to create a database connection object

Usage

setDB(db_name = NULL)

Arguments

db_name

a character string providing the absolute path to the PROFOUND database.

Note

To report errors in the package or the data, please use the issue tracker in the GitHub repository of ProfoundData https://github.com/COST-FP1304-PROFOUND/ProfoundData

See Also

getDB, downloadDatabase

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]