conn_podr | R Documentation |
This function will set a PODR connection within the 'podr_connection' option. Ideally, you shouldn't need to worry about this after it's set. Using the read_podr function will utilize the connection automatically by default.
conn_podr( username = NULL, userpwd = NULL, driver = "postgresql", server = "podr.phuse.global", port = "5432", database = "nihpo" )
username |
provides user name for PODR database connection given as a character string |
userpwd |
provides user password for PODR user given as a character string |
driver |
is database driver defaults to "postgresql" |
server |
is server name in FQDN or IP address defaults to "podr.phuse.global" |
port |
is port number defaults to "5432" |
database |
is database name defaults to "nihpo" |
You will be prompted within the RStudio interface for your user name and password if you did not provides when setting the connection,
Nothing - sets the 'podr_connection' option
Hanming Tu
## Not run: conn_podr() # require user to provide name and password interactively conn_podr('my_username','my_pwd') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.