Hi - in terms of adding historic_runners_insights to queries on the other tables, this is covered niicely with examples in Steve Tilley's latest blog post. Steve then goes on to analyse the variables in R, but if you look at the R code at the end of the post you'll see all the code including the SQL used to extract the code which I think is what you're after?
See:
https://blog.betwise.net/2020/08/23/looking-at-the-importance-of-variables/
Please accept the answer or follow up with comments if needed.
Welcome to the Betwise Q&A, where you can ask questions and receive expert answers from other members of the community.
Choose a category and ask your question!