GithubHelp home page GithubHelp logo

egap / theory_and_practice_of_field_experiments Goto Github PK

View Code? Open in Web Editor NEW
10.0 7.0 4.0 16.54 MB

'Caramba y zamba la cosa, que vivan los experimentos!' -from 'Me Gustan Los Estudiantes' by Violeta Parra

Home Page: http://egap.github.io/theory_and_practice_of_field_experiments

Shell 0.30% TeX 40.14% R 23.85% HTML 13.25% JavaScript 18.37% CSS 4.09%
statisics experiments measurement research-design causal-inference field-experiments evidence-based-policy egap

theory_and_practice_of_field_experiments's Introduction

EGAP Learning Days Book Repository

Caramba y zamba la cosa
que vivan los experimentos! 
-from 'Me Gustan Los Estudiantes' by Violeta Parra

Build and Deploy

This is the repository for the online EGAP Learning Days book which includes a materials to help researchers learn how to design and analyze data from randomized field experiments.

Contributing

We would love for anyone to improve this work. Please feel free to post ideas in the Github Issues. Also feel free to Fork and modify and make a pull request. If you have a message to send, the best way is to use the Issues. You can also send an email to [email protected].

If you want to work on the slides, you should go to the Learning Days Resources repository.

Tools

Here we describe how we develop this book and provide some guidance for people who want to collaborate with us in writing etc.

Markdown

We write the text for the modules in Markdown format. The slides are in R+Markdown format.

If you want help making tables, you can try the following online tool https://thisdavej.com/copy-table-in-excel-and-paste-as-a-markdown-table/.

R packages

We are also using the renv package to keep our libraries portable. So, before you start collaborating you will need to do the following:

install.packages("renv")

After you clone this repository you will want to do the following from within the Book working directory (for example opening the learningday-book.Rproj file in RStudio) to install all of the packages we use in this book do:

renv::restore()

Then you will need to restart R so that it begins work in the new R environment that we have created.

That command will read the renv.lock file

From then on, if you start R from within the book directory, you should be only using R packages installed locally and they need not clutter your whole system just to work on this book project. For example you should see something like this at the top of your R session console.

* Project '~/Documents/PROJECTS/theory_and_practice_of_field_experiments/Book' loaded. [renv 0.11.0]

We use the bookdown package. So you will need to install.packages("bookdown") before loading the theory_and_practice_of_field_experiments.Rproj file in RStudio.

To Deploy the Book Online

The book will automatically be built and deployed online for each push to the repository using github actions.

To build by hand

Before using github actions we used the _build.sh bash shell script for building locally OR we used the "Build Book" function in RStudio. Either way allows you to look at _book/index.html or the pdf or epub versions of the book on your own computer.

License

We are happy for others to use this work as long as EGAP is attributed. See the following license for the precise terms.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

theory_and_practice_of_field_experiments's People

Contributors

jwbowers avatar malisi avatar nahomi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

theory_and_practice_of_field_experiments's Issues

Improve the HTML Slides

The HTML slides need some love and attention from someone who knows more than we do about CSS and HTML.

Fix video links

The book has now successfully recompiled. Yay Jake.

The links to the videos are broken (in Randomization). Maybe a task for @malisi ? I don't know how EGAP wants to do this kind of linking.

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.