Learn R Programming

ProfoundData (version 0.2.1)

setDB: 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.

See Also

getDB, downloadDatabase

Examples

Run this code
# 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()
# }

Run the code above in your browser using DataLab