Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jrnold/masteringmetrics

R code for Angrist & Pischke Mastering Metrics
https://github.com/jrnold/masteringmetrics

econometrics r

Last synced: 23 days ago
JSON representation

R code for Angrist & Pischke Mastering Metrics

Awesome Lists containing this project

README

        

# R Code for Mastering 'Metrics (Angrist and Pischke)

This repository R code and text for [R Code for Mastering 'Metrics](https://jrnold.github.io/masteringmetrics/), which contains the R code to reproduce the analyses in *Mastering 'Metrics* by Joshua D. Angrist and Jörn-Steffen Pischke.

The site is built using the [bookdown](https://bookdown.org/yihui/bookdown/) package.

## Build

To render the book, run the following in R,
``` r
render_book("index.Rmd")
```

To lint R code run
``` console
Rscript _lint.R
```

To check spelling run
``` console
Rcript _spelling.R
```

To lint markdown, install remark and various plugins for it.
``` console
$ npm install remark-preset-lint-recommended remark-preset-lint-consistent remark-preset-lint-markdown-style-guide remark-frontmatter
```
``` console
$ remark *.Rmd
```