Made a lot of progress, Rmarkdown is shitting out on line 209, looks like it doesn't like some dplyr syntax. Asshole.