Description Usage Arguments Examples
View source: R/hrsampleCreatePostgreSQL.R
This function loads the hrsample tables to a PostgreSQL database that the user has access to. It utilizes the RPostgres package and its dependency, DBI. The parameters are based on the DBI parameters.
1 2 | hrsampleCreatePostgreSQL(dbname = NULL, host = NULL, user = NULL,
password = NULL, port = 5432)
|
dbname |
The name of the database the tables will be stored to. Must be a preexisting database. Ideal name would be "hrsample". This function does not create a new database. |
host |
Name of the host. If working with a remote database, may be something like "johnny.heliohost.org". If working with a database on your local machine it might be "localhost" or "127.0.0.1". |
user |
Username to log into database |
password |
Password for user |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.