COSTDataExpo2013 / DaSilvaAlvarez

This repository contains supplementary material for the paper "Clicks and Cliques. Exploring the Soul of the Community" to enable the reader to reproduce the analysis.
1 stars 0 forks source link

Split papersoul into multiple files? #5

Open hadley opened 9 years ago

hadley commented 9 years ago

You have a couple of huge chunks of code at the top of the file. I think it would make sense to extract these as separate R files. You could either source() from your knitr doc, or just load the cleaned up data. The advantage of saving csvs from your data cleaning scripts and then loading them in your knitr file is that you can also track changes to the data over time - this is handy for spotting coding errors.

hadley commented 9 years ago

It also takes a reaaaaaaaaaaaly long time to knit the document - pulling out the data cleaning step should speed it up.