aboutsummaryrefslogtreecommitdiffstats
path: root/R/thetas-curve.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/thetas-curve.R')
-rw-r--r--R/thetas-curve.R9
1 files changed, 4 insertions, 5 deletions
diff --git a/R/thetas-curve.R b/R/thetas-curve.R
index 2923c83b..7597925b 100644
--- a/R/thetas-curve.R
+++ b/R/thetas-curve.R
@@ -3,11 +3,10 @@ library(lazyeval)
library(logging)
basicConfig()
-code.dir <- "~/projects/code/"
-source(file.path(code.dir, "R", "yieldcurve.R"))
-source(file.path(code.dir, "R", "calibration.R"), chdir=TRUE)
-source(file.path(code.dir, "R", "serenitasdb.R"))
-source(file.path(code.dir, "R", "creditIndex.R"))
+source("yieldcurve.R")
+source("calibration.R")
+source("serenitasdb.R")
+source("creditIndex.R")
data.src <- src_postgres("serenitasdb", "debian", 5432, "serenitas_user")