aboutsummaryrefslogtreecommitdiffstats
path: root/R/load_loanprices_data.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/load_loanprices_data.R')
-rw-r--r--R/load_loanprices_data.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/load_loanprices_data.R b/R/load_loanprices_data.R
index d9caa2fc..12bd5a0a 100644
--- a/R/load_loanprices_data.R
+++ b/R/load_loanprices_data.R
@@ -29,5 +29,5 @@ fh <- file(file.path(root.dir, "data", "bloomberg",
write.csv(dataCorp, file=fh, row.names=F)
close(fh)
strdate <- format(Sys.Date(), "%Y-%m-%d")
-system(paste("python /home/share/CorpCDOs/code/python/load_bloomberg_data.py", strdate))
+system(paste("python", file.path(root.dir, "code/python/load_bloomberg_data.py"), strdate))
blpDisconnect(bbgCon)