-
Notifications
You must be signed in to change notification settings - Fork 40
/
dataPipelineRun.R
32 lines (30 loc) · 1.47 KB
/
dataPipelineRun.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Title : Process the data pipeline steps.
# Objective : Collect watchlist assets prices, price derivatives augmentation, assets price / daily aspects merge,
# produce frequency and descriptive statistics for each asset.
# Created by: pablocc
# Created on: 25/01/2021
source("./dailyMundaneEventsAssetReport.R")
source("./moonPhasesDataPrepare.R")
source("./planetAspectsAssetStatsPrepare.R")
source("./planetAspectsAssetsPriceDataPrepare.R")
source("./planetAspectsDataPrepare.R")
source("./planetPositionDataPrepare.R")
source("./planetPositionsAssetStatsPrepare.R")
# Clean tmp directory to ensure all tables are up to date.
unlink("./data/tmp/*.csv")
# Daily aspects table only with modern astrology planets.
allPlanetsPabloAspectsDailyAspectsTableExport()
# Prepare daily planets lingitude positions and derivatives.
dailyPlanetsPositionTablePrepare()
# Prepare daily moon phase and sign location occurrence.
dailyMoonPhaseTablePrepare()
# Prepare merged daily planets aspects + watchlist assets price CSV tables.
planetsAspectsAssetsPriceDataPrepare()
# Produce aspects / price statistics CSV tables for watchlist assets.
planetAspectsAssetStatsPrepare()
# Produce planet positions / price statistics CSV tables for watchlist assets.
planetPositionsAssetStatsPrepare()
# Produce moon phase / price statistics CSV tables for watchlist assets.
moonPhaseAssetStatsPrepare()
# Produce next upcoming N days mundane events assets report for watchlist symbols.
nDailyMundaneEventsReport(60)