Giter Club home page Giter Club logo

rt2_dc_2019's Introduction

output
pdf_document html_document
default
default

Research Transparency & Reproducibility Training (RT2)

Materials for workshop on research transparency, Washington 2019

UC Berkeley (Berkeley Initative for Transparency in the Social Sciences)

Installation Instructions

The workshop will introduce you to a tool that can help you make your workflow more reproducible: version control (Git/GitHub). You are required to install the following software programs either on your personal laptop before coming to the workshop for the hands-on exercises. (please remember to bring the laptop too!)

1. Version Control with Git and the Github Desktop app

Version control is a powerful way to carefully track revisions to your documents as well as to manage collaboration. Git and Github Desktop are packaged together here. Git is the command line tool, and Github Desktop is a GUI version of the same tool.

There are actually a whole bunch of GUI apps that can act as front ends, so you might find later that you prefer another, but we'll stick with Github Desktop for the demo.

Optional: Specifics for Specifics Platforms

Note that Github Desktop works on Mac and Windows. If you're a Linux user, you might try one of these. Also if you're a Windows user, the command line tool that comes with Github Desktop is not the greatest, so you might want to download this alternative. If you've never used the command line before or any of this is confusing, don't worry about it and we'll try to clear it up at the workshop.

2. A good text editor

Writing good code is facilitated by a good text editor. You can get away without one because you almost certainly already have a program on your computer that can save simple ASCII text files (Notepad for Windows, or TextEdit for Mac--but change the default from Rich Text to Plain Text) but modern text editors do syntax highlighting, auto-complete, and a bunch of other cool stuff for you. I suggest Atom. You can extend its functionality by going to settings and adding packages (one to render Markdown as PDF might be especially helpful.)

3. Install R and RStudio

If you have downloaded R or RStudio, make sure that your version is up to date.

Open RStudio and click on the following File-> New File -> RMarkdown..., when prompted to install additional packages, click yes.

4. Install LaTeX

If you could not install LaTeX previously, run the following 2 lines of code in the RStudio console:

install.packages(c("tinytex", "rmarkdown"))
tinytex::install_tinytex()

rt2_dc_2019's People

Contributors

fhoces avatar luizaandrade avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rt2_dc_2019's Issues

Figure Splits table in two

fist figure

qui reg price headroom
est sto reg1
qui regress price headroom trunk
est sto reg2
qui regress price headroom trunk foreign
est sto reg3
esttab reg1 reg2 reg3, ///
replace ///
label se ///
nomtitles

Unable to load figure in compiled document

Hi, I am using the following code within a fence in a Stata markdown template:

	tw sc price mpg 
	graph export "$path/twsc.png", replace

However, when I use markdown in my file, I am unable to load the figure (although the figure is created and exported by Stata)

![Correlation]("$path/twsc.png"){width="60%"}

Thank you for helping out!

PS: I am using Stata 15/MP on Windows 10 (and I run Stata using Stata​Editor package in SublimeText)

Estout tables truncated

Using Mac and exported to html. The output estout table that has 6 columns was cut in the middle of the 4rth column. Not sure how to change the width of the page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.