Data Science. TileDB. Open Source. Quant Research. R. C++. Debian. Linux. Adjunct Clinical Professor, University of Illinois. Lots of coffee. And some running.
Extra thanks also to @pdalgd for helping out as my real-time editor spotting a stoopid typo in the first (now deleted) run of this tweet. #RStats users can execute
> fortunes::fortune(112)
to illustrate.
Big Thank You! to @Sondreus for a fab guest lecture on 'Data Science at @TheEconomist' yesterday to STAT 447. A focus on 'coding and modeling' plus open source repos at @github with rich data sets well processed and analysed yield great results! #Rstatsyoutube.com/watch?v=1TgEl5OZ…
"[E]conomists are often fumbling in the dark, with too little information to pick the policies [...] The world is on the brink of a real-time revolution in economics, [...] Big firms [...] already use instant data to monitor ..."
economist.com/briefing/2021/…
You need business calendar logic. This is finance packages (for market open/closed). RcppQuantuccia has them in a lighter-weight package (and I'll have an update really soon), else RQuantLib. Or check exchanges / national bodies. #rstats
There are other ways to pass values to an Rstats script; I like `docopt` my @edwindjonge *a lot* for this. You could pick up values from a config file you alter, or from a parameter store like Redis, or ...
But keeping 18 variants of the same source file is not not good.
Possible alternative:
param <- as.numeric(Sys.getenv("MYVALUE"))
The run a shell script around it it calling it:
for v in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18; do
MYVALUE=v Rscript myRfile.R
done
Beyond thrilled that two weeks from today, @Sondreus of the data team at @TheEconomist will guest lecture to the students of my STAT 447 class. Details still being worked out, but we may have a publically available recording.
stat447.com/guest_lectures/#rstats#datascience
"Just do it".
I sometimes put the slide below into my talks showing how R will take "anything", munge it as needed, and report in "any format". Write some glue, and enjoy your integration as "most" things can be accessed and reported into. #rstats