Description Usage Arguments Details Value Examples
This function reads the file keys.json at the root of the directory and create a connection to the postgre database.
1 | database_connect(file = "keys.json")
|
file |
name of the file where keys are stored |
The file keys.json should have the following format :
"host": ["127.0.0.1"], "dbname": ["databasename"], "port": ["5433"], "id":["login"], "pw":["password"]
a connection to the signauxfaible database
1 | database_signauxfaibles <- database_connect()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.