Description Usage Arguments Value Examples
connect to the db where you want to upload all LUCAS points
1 | Connect_to_db(user, host, port, password, dbname)
|
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 |
conection to the db
1 2 3 4 5 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.