View source: R/database_functions.R
connect2db | R Documentation |
connect2db
connects to the UWIN camera trapping database. It takes
no arguments but will request for the password to the UWIN database when
a connection is attempted.
connect2db(user = "root")
user |
the name of the user you want to login as. Defaults to 'root'. |
If the password is correctly input connect2db
will return
a MySQLConnection
called uwidb.
to the global environment.
## Not run:
connect2db()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.