Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split papersoul into multiple files? #5

Open
hadley opened this issue Aug 4, 2015 · 1 comment
Open

Split papersoul into multiple files? #5

hadley opened this issue Aug 4, 2015 · 1 comment

Comments

@hadley
Copy link

hadley commented Aug 4, 2015

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
Copy link
Author

hadley commented Aug 5, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant