Editing CommunityData:Automating and Streamlining Walkthrough

From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
Welcome to the Automating and Streamlining Walkthrough!
Welcome to the Automating and Streamlining Walkthrough!


This guide steps you through why and how you might like to adopt some of our tips and tricks around automating and streamlining your research workflow. This guide is opinionated---you might not find all of it useful---but this advice is built from lived experience: these are strategies CDSC members use to keep away from certain kinds of annoyances, traps, and mistakes. Some of what's described here will be a '''lot''' easier if you have completed the [[CommunityData:Onboarding Checklist]]. CDSC members will want to make sure they have a fresh copy of the '''cdsc_examples_repository''' git repository.
This guide steps you through why and how you might like to adopt some of our tips and tricks around automating and streamlining your research workflow. This guide is opinionated---you might not find all of it useful---but this advice is built from lived experience: these are strategies CDSC members use to keep away from certain kinds of annoyances, traps, and mistakes. Some of what's described here will be a '''lot''' easier if you have completed the [[CommunityData:Onboarding Checklist]]. CDSC members will want to make sure they have a fresh copy of the '''cdsc_examples''' git repository.


=== Staying Organized ===
=== Staying Organized ===
Line 16: Line 16:
=== Automating ===
=== Automating ===


Automation can be extremely helpful, but it's an investment. You will not regret time spent on modest automation, in particular if you do computational work. You never want to be in the position of copy-pasting from R into LaTeX or Word: it is error prone and when you later find yourself needing to revise, you might not remember where you got that number from ....... instead, what you want is some automation magic, so that every time you run your R code, your new data and fresh visualizations land in your Overleaf. Example code for making this work is in the '''cdsc_examples/R_examples_repository/automation''' git repository. If you want to learn even more, there's [[Knitr_tutorial| a little tutorial on Knitr]], and here's [[CommunityData:Knitr | a more expanded guide]].
Automation can be extremely helpful, but it's an investment. You will not regret time spent on modest automation, in particular if you do computational work. You never want to be in the position of copy-pasting from R into LaTeX or Word: it is error prone and when you later find yourself needing to revise, you might not remember where you got that number from ....... instead, what you want is some automation magic, so that every time you run your R code, your new data and fresh visualizations land in your Overleaf. Example code for making this work is in the '''cdsc_examples/R_examples/automation''' git repository. If you want to learn even more, there's [[Knitr_tutorial| a little tutorial on Knitr]], and here's [[CommunityData:Knitr | a more expanded guide]].


# [[CommunityData:Build_papers | Set up this marvelous R - Overleaf automation]]
# [[CommunityData:Build_papers | Set up this marvelous R - Overleaf automation]]
Line 35: Line 35:
# Keep a copy of your original submission, including the main.tex file (if you are using .Rtex file because you followed the above advice about automation....please note that the main.tex file is hidden in Overleaf -- click the little 'document' icon next to 'Recompile' (mouseover has a tooltip that says 'Logs and output files' -- then 'Other logs and files' at the bottom right -- note that the output.bbl file is there too, that's also useful because you'll want it for your upload to arXiv if you post a preprint). You will need this for the LaTeX Diff below. This is the first stage of responding to a review---but it's one you can do even before the reviews are back.
# Keep a copy of your original submission, including the main.tex file (if you are using .Rtex file because you followed the above advice about automation....please note that the main.tex file is hidden in Overleaf -- click the little 'document' icon next to 'Recompile' (mouseover has a tooltip that says 'Logs and output files' -- then 'Other logs and files' at the bottom right -- note that the output.bbl file is there too, that's also useful because you'll want it for your upload to arXiv if you post a preprint). You will need this for the LaTeX Diff below. This is the first stage of responding to a review---but it's one you can do even before the reviews are back.
# Paste all reviews into a Google Sheet---[https://docs.google.com/spreadsheets/d/1ZMMKI3HQ6bOTRT0oF5ohBtVLqo3ye65J5WJ-rn6WxsM/edit?usp=sharing feel free to use this as a template]. This is useful for the second stage of responding to a review, when maybe you're working through some emotional responses, trying to figure out what to do, etc.
# Paste all reviews into a Google Sheet---[https://docs.google.com/spreadsheets/d/1ZMMKI3HQ6bOTRT0oF5ohBtVLqo3ye65J5WJ-rn6WxsM/edit?usp=sharing feel free to use this as a template]. This is useful for the second stage of responding to a review, when maybe you're working through some emotional responses, trying to figure out what to do, etc.
# Paste all reviews into a response to reviewers letter document in the same Overleaf project where you wrote the paper. Place them below the '''\end{document}''' line so they won't show up. This is useful for the third stage of responding to a review---actually revising. As you revise to address the issue, move the comment up into the letter, quote it and then write what you did. Mark and comment the bit of your paper you copy-pasted (something like: ''populate any edits made into reviewer response''). It might feel a skosh redundant with the Google Sheet, and it is ... think of it as double-entry bookkeeping to make sure nothing gets dropped.
# Paste all reviews into a response to reviewers letter document in the same Overleaf project where you wrote the paper. Place them below the '''/end{document}''' line so they won't show up. This is useful for the third stage of responding to a review---actually revising. As you revise to address the issue, move the comment up into the letter, quote it and then write what you did. Mark and comment the bit of your paper you copy-pasted (something like: ''populate any edits made into reviewer response''). It might feel a skosh redundant with the Google Sheet, and it is ... think of it as double-entry bookkeeping to make sure nothing gets dropped.
# Show your work: some venues require (and reviewers often appreciate) a document that shows what was changed. If you use Word, that means turning on Track Changes. If you use LaTeX, [[CommunityData:LaTex Diff | latexdiff is a way to achieve this]]. Latexdiff is available on [[CommunityData:Kibo]]. Making sure you have a nice clean diff and letter is the final stage of responding to a review.
# Show your work: some venues require (and reviewers often appreciate) a document that shows what was changed. If you use Word, that means turning on Track Changes. If you use LaTeX, [[CommunityData:LaTex Diff | latexdiff is a way to achieve this]]. Latexdiff is available on [[CommunityData:Kibo]]. Making sure you have a nice clean diff and letter is the final stage of responding to a review.


Please note that the '''cdsc_example''' repository contains examples of past revision processes.
Please note that the '''cdsc_example''' repository contains examples of past revision processes.
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see CommunityData:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)