View source: R/database_interactivity.R
evdb_connect | R Documentation |
Set connection to election violence database
evdb_connect( host = "coders.victorianelectionviolence.uk", user = "data_writer", dbname = "evp", port = 3306, password_method = "ask" )
host |
Location of database host. |
user |
Username for accessing the database. |
dbname |
Name of database. |
port |
Value of port connection. |
password_method |
Method of obtaining database password for specified user. |
The connection to the election violence database.
# for default connection to the database con <- evdb_connect() # using alternative method of entering password information con <- evdb_connect(password_method="keyring")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.