|||

A starter kit for reproducible research with R

This accompanies my draft short article for the UKES Bulletin: A reproducible workflow for evaluation reports.

Here are just two files which together get you started with a bare-bones reproducible research project.

  • Install and install R and RStudio.
  • Download this little example of a reproducible source file and an accompanying example Excel file describing the heights and ages of a bunch of boys and girls in a school.
  • Save them together in a new folder.
  • Double-click the source file to open it in RStudio. The source file has a couple of commands to read the Excel file, clean it and make a table and a chart, as well as plain text which becomes the headings and body of the document.
  • Press the blue Knit” button in RStudio, you will get a beautiful Word document.
  • Try editing the text and then press Knit” again to see what happens.
Up next A reproducible workflow for evaluation reports This is a draft of a short article for the UKES Bulletin. Most evaluators have to produce at least a few tables and graphics in their evaluation Better ways to present country-level data on a world map: equal-area cartograms
Latest posts Making notes on PDFs without computer or paper Publications causal-map Causal Map intro Causal Mapping - an earlier guide The walk to school in Sarajevo Glitches Draft blog post for AEA365 Theory Maker! Inventory & analysis of small conservation grants, C&W Africa - Powell & Mesbach! Lots of charts! Answering the “why” question: piecing together multiple pieces of causal information rbind.fill for 1-dimensional tables in r yED graph editor Examples of trivial graph format Using attr labels for ggplot An evaluation puzzle: “Talent show” An evaluation puzzle: “Mobile first” An evaluation puzzle: “Many hands” An evaluation puzzle: Loaves and fishes An evaluation puzzle: “Freak weather” An evaluation puzzle: “Billionaire” Using Dropbox for syncing Shiny app data on Amazon EC2 Progress on the Causal Map app Articles and presentations related to Causal Maps and Theorymaker Better ways to present country-level data on a world map: equal-area cartograms A starter kit for reproducible research with R A reproducible workflow for evaluation reports Welcome to the Wiggle Room Realtime comments on a Theory of Change Responses to open questions shown as tooltips in a chart A panel on visualising Theories of Change for EES 2018?