Connect_to_db {lucas} | R Documentation |
Conntect to DB
Description
connect to the db where you want to upload all LUCAS points
Usage
Connect_to_db(user, host, port, password, dbname)
Arguments
user |
Character. User of the database |
host |
Character. Host of the DB |
port |
Integer. Port to connect to usually 5432 |
password |
Character. Password to access to the DB |
dbname |
Character |
Value
conection to the db
Examples
## Not run:
con <- Connect_to_db("andrrap", "localhost", 5432,"andrrap","andrrap")
con <- Connect_to_db("martlur", "/var/run/postgresql", 5432,"martlur","postgres")
con <- Connect_to_db("postgres", "172.15.0.10", 5432,"test","postgres")
## End(Not run)
[Package lucas version 1.0 Index]