Description Usage Arguments Examples
Creates time_distance function in given portfolio and optionally loads sample data.
1 2 | createTimeDistanceFunction(functionSchema = "public", con, loadData = FALSE,
dataSchema = "public")
|
functionSchema |
Schema where |
con |
Connection to PostgreSQL database as produced by |
loadData |
When true than tables |
dataSchema |
Schema where sample tables should be created. Default is |
1 2 3 4 5 6 | ## Not run:
drv <- dbDriver("PostgreSQL")
pgCon <- dbConnect(drv, user = 'usr', dbname="db", password = 'secret', host = 'localhost', port = 5432)
createTimeDistanceFunction(con = pgCon, loadData = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.